6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 12:30 am

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Oct 01, 2012 4:27 pm 
Offline
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 904
Regarding timing constraints

Looking at the thread again... Timing constraints are just that - constraints and have nothing to do with the language. Since fpgasm uses xilinx tools to route I don't see why you can't add a constraint file... I will check it.

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 01, 2012 4:51 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Does every element have to be hand-placed? That would be tedious, for a large clump of control logic like in the 6502.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 01, 2012 5:22 pm 
Offline
User avatar

Joined: Sat Sep 29, 2012 10:15 pm
Posts: 904
It is modular. Each instance is placed inside the module relative to the module. (Just like RPM constraint :D )

Just an example:
Inside 6502 maybe Registers at 0,0, PC at 0, 10 ALU at 5 0 etc.
Inside PC, 8 2-bit counters at 0,0 0,1 0,2 etc.
EDITED:
Each module controls location of instances inside it, so the task is localized.

_________________
In theory, there is no difference between theory and practice. In practice, there is. ...Jan van de Snepscheut


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 07, 2012 10:35 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Another option for low-level FPGA hacking is to use the FPGA editor. Here's a tutorial. You can start out with an existing Verilog/VHDL design, and then open it up in the FPGA editor to see how it's implemented, and to make changes. I haven't used it myself yet, but I'm planning to try it on my next FPGA project. My plan is to start with a really trivial design, and use the FPGA editor to understand the slice structure better, and see what synthesis produces.

The FPGA editor is also a useful tool when you want to make a simple design change, such as experimenting with IODELAY or DCM parameters without having to resynthesize the whole design.

Of course, the FPGA editor is also a useful companion to fpgasm hacking, as you an visually inspect what your code produces.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: