- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I'd received the new STRATIX II board with EP2S60F672C5ES device. To start my new Nios application I would like to use a TCL Script to auto assign the IO Pins. (like existing TCL Files for Cyclone board). May be someone could help ? Thanks , HolgerLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it the basics you need or do you have a specific problem? Anyway some basics : Rather simple. Make your new tcl file (cut and past the standard things like RAM, ... connections) and add your own. Open the TCL console in the Quartus software and do "source xxx.tcl" xxx = file name. TO look if you are in the correct directory, use "pwd" and eventually cd to an other one. Stefaan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
each example design in Nios II has the complete board pinout in the qsf file. does that help you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
...Also in the Quartus II 4.2 shipment I noticed a handy book on Quartus command scripting. I'm not sure how much detail it goes into as far as TCL is concerned but it certainly looks cool!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK thanks,
I think thes informaton would help me. Holger- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in quartus->project there is a menu item: "generate tcl file for current project".
This I find useful because it generates a Tcl file which you can build on for adding pins, i.e. use as a template. In this way you dont have to fight too much with syntax issues in for instance namings of bus ports. In addition it will give a dump of all your current systems settings. Well is it realy all? I guess so at least. Sometimes you may find unexpected options (and incomprehensible ones too) listed there, which you didnt realize were set.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you don't plan on creating many different designs (i.e. not running the script often) you can also try one of the nios reference designs. It may have components that you do not require so you can just remove those. At least with this route you know your I/O have already been assigned for you, and you already have a system ready to program.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page