Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Displaying Serial Data

Altera_Forum
Honored Contributor II
1,712 Views

Hi, 

 

Is there a way to display serial data as packets in the simulation tool. I am developing a SPI interface and it would be nice if it displayed the hex value of the packet rather than the binary status of the data pin
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,016 Views

What simulation tool do you use?

0 Kudos
Altera_Forum
Honored Contributor II
1,016 Views

 

--- Quote Start ---  

What simulation tool do you use? 

--- Quote End ---  

 

 

 

I am using the simulator in Quartus II
0 Kudos
Altera_Forum
Honored Contributor II
1,016 Views

Similar actions are usually performed in a HDL testbench with full featured simulators as ModelSim. They are particularly necessary when you want your debugging enviroment to interact with your design. You may want to simulate an external device that answers a command send by your design, with the same timing as the real device. For your convenience, you may want to simply use an existing HDL design of the external device to generate this behaviour. 

 

Quartus simulator doesn't have a testbench option, but you can modify your design to include part of the debugging enviroment, also a decoder for internal signals, as requested. If you want to perform these actions more than once, it's a good idea to learn ModelSim operation.
0 Kudos
Altera_Forum
Honored Contributor II
1,016 Views

 

--- Quote Start ---  

Similar actions are usually performed in a HDL testbench with full featured simulators as ModelSim. They are particularly necessary when you want your debugging enviroment to interact with your design. You may want to simulate an external device that answers a command send by your design, with the same timing as the real device. For your convenience, you may want to simply use an existing HDL design of the external device to generate this behaviour. 

 

Quartus simulator doesn't have a testbench option, but you can modify your design to include part of the debugging enviroment, also a decoder for internal signals, as requested. If you want to perform these actions more than once, it's a good idea to learn ModelSim operation. 

--- Quote End ---  

 

 

 

Thanks for the explanation
0 Kudos
Altera_Forum
Honored Contributor II
1,016 Views

In the ModelSim simulation tool it is easy. See the attached picture. 

Modelsim Altera Starter Edition is provided for free together with Quartus II web-edition.
0 Kudos
Reply