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

Description of bidirectional signals and differential input signals in VHDL

Yamada1
Beginner
506 Views

As the title suggests, I have a question about describing bi-directional and differential input signals in VHDL. It would be helpful if you could teach me about the following points.

1) I would like to handle bi-directional signals. What is an example of VHDL description? What would be the grammatical problem with the following statement?

entity test is

     port( BP : inout std_logic;

               DIR : in std_logic;

               OD : out std_logic )

end test;

architecture RTL of test is

signal a: std_logic;

signal i: std_logic;

begin

BD <= a when (dir = '1') else 'Z';

i <= BD;

OD,a outputs "some processing result"

end RTL;

 

2) As far as I searched the web for the VHDL description of the differential input signal, there was a description that the design was single-ended, the IO standard was set with the Pin Planner, and the P channel was assigned.

Also, if I assign it to the CLK pin, is that signal automatically connected to the global clock?

Please forgive me if it is hard to understand because of the text of machine translation.

Sorry for the long post, but thank you in advance.

0 Kudos
1 Solution
ShengN_Intel
Employee
481 Views

Hi,


Check this VHDL: Bidirectional Bus sample design from Intel https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-examples/horizontal/v-bidir.html may be can help you out.


Thanks,

Best regards,

Sheng

p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


View solution in original post

0 Kudos
3 Replies
FvM
Valued Contributor III
493 Views

1. Is basically useful VHDL. Why don't you try the design Quartus, the tool will tell you about possible syntax and semantic errors.
2. Yes.

0 Kudos
ShengN_Intel
Employee
482 Views

Hi,


Check this VHDL: Bidirectional Bus sample design from Intel https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-examples/horizontal/v-bidir.html may be can help you out.


Thanks,

Best regards,

Sheng

p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Yamada1
Beginner
451 Views

Thank you for your answer.

Thank you for your kind response, even though it was a rudimentary question.

0 Kudos
Reply