Forum Discussion
HBhat2
Contributor
6 years agoHow the "PARAMETER"/"localparam" in verilog mapped to hardware?
Hi, I have a very basic question regarding RTL and FPGA. In RTL, generally we use parameter or localparam to define the design configuration. My question is how this "PARAMETER' or "localparam" ...
HBhat2
Contributor
6 years ago@sstrell ,
For example, I have a header pattern to send (localparam header = 0xA5A5), I will store this as local parameter and I will assign my databus for defined interval. (data_o <= header ;). As, data_o inferred into multiple D-flip flops, my specific question is how does the header will be inferred? Whether this localparam will be stored in block RAM or by means of any other primitives ?
With Regards,
HPB
sstrell
Super Contributor
6 years agoFor your example, it would probably be synthesized as just pull-ups and pulldowns since it's a constant value.
#iwork4intel