Forum Discussion
MDuse
New Contributor
7 years agoProgram not working as expected
Hi, my device consists of MCU, MAX V CPLD and sensor device. MAX V CPLD is used to interface sensor to MCU. I have a code in VHDL for MAX V CPLD: entity Device is
port (
clk16: in std_logic...
JohnT_Altera
Regular Contributor
7 years agoI didn't observed that the open drain is enabled. Usually you need to design it where you can either follow the guide in https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/solutions/rd06252007_878.html or use the IP in Quartus (https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_altiobuf.pdf)
- MDuse7 years ago
New Contributor
But it is bidir which should be good for me as long as CPLD can set bidir pin to 0 and to high impedance state and is able to read its state.
So, can you confirm, that this implementation that is present in my code:
if start = '0' then start <= '0'; end if;is bad idea and I should do it in some official way?