Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

hard code a value?

Altera_Forum
Honored Contributor II
4,063 Views

Is it possible using the schematic drawings to hard code a specific value to something like a register? Quartus has a constant symbol but I'm not sure what to do with it. How do I connect it to things?

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
2,823 Views

I also don't know how to use the constant symbol in a schematic. :mad: In case that you need only a single bit you can use the "gnd" or "vcc" symbol. If you need to assign a value to a bus, you can use the LPM_CONSTANT. The symbol is located under megafunctions -> gates.:)

0 Kudos
Altera_Forum
Honored Contributor II
2,823 Views

Hello, 

 

in plain HDL designs, I have constant objects in library work, that can be referenced througout the hierarchy, e. g. as a compilation switch in a VHDL generate statement or a numerical constant in arithmetics. The constant symbold probably performs similar. Or it's local to the bdf generated entity, then it could be referenced in parameter lists (generic instantiations) of subblocks. 

 

Regards, 

Frank
0 Kudos
Reply