Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15467 Discussions

What is 'stdin' when using System Console?

BGrat
Novice
508 Views

Hello,

I am new to tcl scripting. Everything works as expected except gets. It hangs every single time. I am guessing that stdin is not set to input from the keyboard or something like that. If someone could help me understand why this simple code hangs, I would appreciate it.

System: Windows 10, Quartus 18.0 build 261

puts "Hello World." puts "Enter your name:" gets stdin name puts "Hello $name"

 

0 Kudos
3 Replies
MEIYAN_L_Intel
Employee
192 Views

Hi,

The tcl scripting using in system console as link below with chapter 2.6:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-qps-debug.pdf

 

The system console is a debugging tool. Before using the system console , there are some steps need to be done as below:

1. Add an IP Core to the Platform Designer (Standard) system.

2. Generate the Platform Designer (Standard) system.

3. Compile the design.

4. Connect a board and program the FPGA. 

Then only can used the system console tool to debug the system.

The document as link below is the tutorial using system console:

https://www.intel.com/content/www/us/en/programmable/customertraining/webex/Adv_Qsys_SysCon_p2/Syste...

 

You may refer to the document as link below for more information in tcl scripting used in design flow:

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/manual/tclscriptrefmnl.pdf

 

Thanks.

 

 

 

MEIYAN_L_Intel
Employee
193 Views

Hi,

May I know any update?

Thanks

BGrat
Novice
193 Views

There is no mention of stdin within the documentation, but I should be able to get what I need out of it.

Thanks.

Reply