Hello Dears
Is it possible to insert the value from keyboard to VHDL code? ( as like as C++ and etc.) In fact I want to update some values in specific steps by an interface ( such as a control table) without manipulating the original VHDL code.
Regards
Mostafa
Hello Dear FvM
In Fact I want to find a way to update some constant ( according to specific situations) in my VHDL code. On of these constant is a Threshold ( equal to 0.5) but maybe I need to change it ( like an adaptive one). But I don't want to open the original code and change it. I want to do it by keyboard inputs, for instance insert 0.6 instead of 0.5 for the threshold. Is there any solution?
Thanks
The problem is still unclear. Is it about simulation, recompiling a hardware design with different parameters, changing parameters at runtime? Wher do you connect the "keyboard"?
For the second case, you can e.g. read-in parameter files by the design compiler.
The parameters would be stored either in RAM or an EEPROM. There must be interface to send the data to the FPGA, can be RS232, parallel port, JTAG or other and some logic to decode the input. Altera has e.g. a in-system-memory-content-editor to modify FPGA internal block RAM through JTAG and a tool in development software.