rajavel.rv
Member level 3
Generic mamping for verilog HDL
Hi, how can am a passing a separate constant value to my verilog module in my top level of coding; if am using VHDL means i can use this syntax;
VHDL;
example;
entity entity_name is
generic (
K_CONSTANT : integer := 6
);
port (
);
if am port mapping this code means am using this syntax;
c1 : entity_name
generic map( K_CONSTANT => 5)
port map (
);
how can am use this type of syntax in verilog hdl; please send the syntax of verilog hdl;;;;
Regards
rajavel.rv
Hi, how can am a passing a separate constant value to my verilog module in my top level of coding; if am using VHDL means i can use this syntax;
VHDL;
example;
entity entity_name is
generic (
K_CONSTANT : integer := 6
);
port (
);
if am port mapping this code means am using this syntax;
c1 : entity_name
generic map( K_CONSTANT => 5)
port map (
);
how can am use this type of syntax in verilog hdl; please send the syntax of verilog hdl;;;;
Regards
rajavel.rv