S
Seanie
Guest
Hi all,
I am new to verilog - i am having trouble using generics in Verilog. I
have a vhdl file which contains the following generic:
GENERIC(
abs_addr_width : Integer :=4;
abs_mpu_start : Integer
);
Can anyone tell me what the verilog equivalent is? I have tried the
verilog lines below but it will not compile.
parameter cwt_addr_width = 4;
parameter cwt_mpu_start ;
I do not want to set it to 0 as it then has a value.
Would appreciate any help
Thanks
I am new to verilog - i am having trouble using generics in Verilog. I
have a vhdl file which contains the following generic:
GENERIC(
abs_addr_width : Integer :=4;
abs_mpu_start : Integer
);
Can anyone tell me what the verilog equivalent is? I have tried the
verilog lines below but it will not compile.
parameter cwt_addr_width = 4;
parameter cwt_mpu_start ;
I do not want to set it to 0 as it then has a value.
Would appreciate any help
Thanks