axi_dmac: renamed .h files to .vh

Vivado recognises .h files as C header files,
the expected extension for Verilog Header is .vh
This causes issues in simulating block designs  since these files
won't be exported for the simulation even if they are
part of the simulation fileset.
main
Laszlo Nagy 2018-06-28 12:14:14 +01:00 committed by Laszlo Nagy
parent 7713738d12
commit e794d04cd1
16 changed files with 20 additions and 20 deletions

View File

@ -22,10 +22,10 @@ GENERIC_DEPS += data_mover.v
GENERIC_DEPS += dest_axi_mm.v
GENERIC_DEPS += dest_axi_stream.v
GENERIC_DEPS += dest_fifo_inf.v
GENERIC_DEPS += inc_id.h
GENERIC_DEPS += inc_id.vh
GENERIC_DEPS += request_arb.v
GENERIC_DEPS += request_generator.v
GENERIC_DEPS += resp.h
GENERIC_DEPS += resp.vh
GENERIC_DEPS += response_generator.v
GENERIC_DEPS += response_handler.v
GENERIC_DEPS += splitter.v

View File

@ -71,7 +71,7 @@ module dmac_address_generator #(
localparam MAX_BEATS_PER_BURST = {1'b1,{BEATS_PER_BURST_WIDTH{1'b0}}};
localparam MAX_LENGTH = {BEATS_PER_BURST_WIDTH{1'b1}};
`include "inc_id.h"
`include "inc_id.vh"
assign burst = 2'b01;
assign prot = 3'b000;

View File

@ -147,7 +147,7 @@ wire dest_ready;
wire [DATA_WIDTH-1:0] dest_mem_data;
wire dest_mem_data_ready;
`include "inc_id.h"
`include "inc_id.vh"
generate if (ID_WIDTH >= 3) begin
assign src_id_reduced = {src_id_reduced_msb,src_id[ID_WIDTH-3:0]};

View File

@ -19,8 +19,8 @@ ad_ip_files axi_dmac [list \
$ad_hdl_dir/library/common/up_axi.v \
$ad_hdl_dir/library/util_axis_fifo/util_axis_fifo.v \
$ad_hdl_dir/library/common/ad_mem.v \
inc_id.h \
resp.h \
inc_id.vh \
resp.vh \
axi_dmac_burst_memory.v \
axi_dmac_regmap.v \
axi_dmac_regmap_request.v \

View File

@ -7,8 +7,8 @@ adi_ip_create axi_dmac
adi_ip_files axi_dmac [list \
"$ad_hdl_dir/library/common/ad_mem.v" \
"$ad_hdl_dir/library/common/up_axi.v" \
"inc_id.h" \
"resp.h" \
"inc_id.vh" \
"resp.vh" \
"axi_dmac_burst_memory.v" \
"axi_dmac_regmap.v" \
"axi_dmac_regmap_request.v" \

View File

@ -68,7 +68,7 @@ module dmac_data_mover #(
localparam BEAT_COUNTER_MAX = {BEATS_PER_BURST_WIDTH{1'b1}};
`include "inc_id.h"
`include "inc_id.vh"
reg [BEATS_PER_BURST_WIDTH-1:0] last_burst_length = 'h00;
reg [BEATS_PER_BURST_WIDTH-1:0] beat_counter = 'h00;

View File

@ -72,7 +72,7 @@ module dmac_dest_axi_stream #(
output [1:0] response_resp
);
`include "inc_id.h"
`include "inc_id.vh"
reg data_enabled = 1'b0;
reg req_xlast_d = 1'b0;

View File

@ -71,7 +71,7 @@ module dmac_dest_fifo_inf #(
output [1:0] response_resp
);
`include "inc_id.h"
`include "inc_id.vh"
reg active = 1'b0;

View File

@ -706,7 +706,7 @@ sync_bits #(
.out(src_request_id)
);
`include "inc_id.h"
`include "inc_id.vh"
function compare_id;
input [ID_WIDTH-1:0] a;

View File

@ -53,7 +53,7 @@ module dmac_request_generator #(
output eot
);
`include "inc_id.h"
`include "inc_id.vh"
/*
* Here we only need to count the number of bursts, which means we can ignore

View File

@ -54,8 +54,8 @@ module dmac_response_generator #(
output [1:0] resp_resp
);
`include "inc_id.h"
`include "resp.h"
`include "inc_id.vh"
`include "resp.vh"
assign resp_resp = RESP_OKAY;
assign resp_eot = eot;

View File

@ -58,8 +58,8 @@ module dmac_response_handler #(
output [1:0] resp_resp
);
`include "resp.h"
`include "inc_id.h"
`include "resp.vh"
`include "inc_id.vh"
assign resp_resp = bresp;
assign resp_eot = eot;

View File

@ -88,7 +88,7 @@ module dmac_src_mm_axi #(
input [ 1:0] m_axi_rresp
);
`include "inc_id.h"
`include "inc_id.vh"
reg [ID_WIDTH-1:0] id = 'h00;
@ -170,7 +170,7 @@ always @(posedge m_axi_aclk) begin
end
/* TODO
`include "resp.h"
`include "resp.vh"
assign response_valid = 1'b0;
assign response_resp = RESP_OKAY;

View File

@ -150,7 +150,7 @@ proc ad_ip_addfile {pname pfile} {
add_fileset_file $pmodule VERILOG PATH $pfile
return
}
if {$ptype eq ".h"} {
if {$ptype eq ".vh"} {
add_fileset_file $pmodule VERILOG_INCLUDE PATH $pfile
return
}