6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 8:22 pm

All times are UTC




Post new topic Reply to topic  [ 353 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 24  Next
Author Message
 Post subject:
PostPosted: Wed May 25, 2011 3:36 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Interesting, I set up a top level constraint for the O2IN clock at 12ns, and it passed! Now it says best achievable case is 11.68ns. Will try 11ns next...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 4:01 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Is this something to be concerned about? Been giving me the warning since making the adjustment to the Z flag.
Code:
WARNING:Xst:2677 - Node <XLXI_1/_ALU/Z> of sequential type is unconnected in block <top_level>.




It did fail @11ns. You mean this?

Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 4:14 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
If you click on the paths, you get more detailed information.

But 12 ns is pretty good. With the 18 ns, I thought something may be wrong, but 12 ns is fine. That's going to be pretty much impossible to improve.

And, yeah, in order to see the top speed, you'll have to play with the constraints. If you put the constraint at 20 ns, and the tools reach 19.9, they're not going to try any harder, so you'll never see the top speed.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 4:33 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Is this something to be concerned about? Been giving me the warning since making the adjustment to the Z flag.
Code:
WARNING:Xst:2677 - Node <XLXI_1/_ALU/Z> of sequential type is unconnected in block <top_level>.

__________________________________________________________________________________________________________________________


Also interesting to note, when I set optimize for speed to high. Max delay is 12.002ns. When I set it back to normal, it passes again with Max delay of 11.551ns...

Next on the agenda is to trim BCD out, which lucky for me I have your original .cpu and .ALU files from 10/27/2010 to compare against. But there are a couple places where I'm not sure whether I should trim them out of not and would appreciate your help.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 4:39 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
The warning is about the unconnected 'Z' output in the ALU. It's no problem, but
you can get rid of it by editing ALU.v to remove all references to 'Z'.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 5:57 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
I think I've got the ALU.v trimmed of BCD.
Looking at cpu.v right around line 543 that contains:
Code:
AXYS[regsel] <= (state == JSR0) ? DIMUX : { ADD[dw-1:4] + ADJH, ADD[3:0] + ADJL };


Should I change it back to:
Code:
AXYS[regsel] <= ADD;


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 5:59 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
No, it should be:

Code:
AXYS[regsel] <= (state == JSR0) ? DIMUX : ADD;


That's needed for the RDY support.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 6:11 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
OK, excellent, I think i got it!
A few more changes to the comments and I'll post them on github!

Will let you guys know when I'm done :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 6:58 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Was abit premature, but after a few more corrections, I got it to pass synthesis ok. No speed gains by removing BCD...

An area to observe for correctness which was a little bit of a challenge is around line 98 in the ALU, and lines 1096-1112 in the cpu. I think they're ok so I'm going forward.... Should I add my name to the copyright? heh :lol:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 8:06 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
This github is giving me a headache! I just want to upload 2 files... I don't have time to read all this stuff!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 8:15 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
you've made a fork, so now you can visit a file you want to change, hit Edit This File, and paste in your new contents. Then put in a commit message and hit Commit Change.

Edit: for example, this is your cpu.v file


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 8:30 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
man I'm slow with this stuff. Does look neat though. Can see code in github's editor... But I'm not just adding comments and such, I've modded both entire files.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 8:32 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
right, so just select-all and cut, then paste in your new version.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 8:38 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
sec, do I need to be using explorer? I'm using chrome right now. I don't see those options...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed May 25, 2011 8:47 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
Hi EEye
no, any browser, any OS. Let me walk you through it.

these are text operations you're about to do, in a text box - rather like these comment editting boxes. You're not going to upload a file, you're going to post new content to github, and then github's version of the file will be changed.

so, you visit the file in github, in your fork, and you hit the edit button, and the file content in the text box is now open for edit. You could now make a small change or two, and hit the commit button, preferably with a descriptive comment in the comment box.

for big change, I'm suggesting you wipe out all the text in the text box, by selecting all of it: Edit-> Select All -> Delete, or Right Click->Select All->Delete. And then visit your favourite editor (Notepad, Wordpad, ISE), pull up the new file contents, select the whole file text using Edit->Select All ->Copy. Finally, back to the browser and the github text box, paste in your updated content: Edit->Paste or Right Click->Paste.

(Or you might be the kind of person who uses Control-A, Control-C, Control-X and so on)

Does that start to make more sense? You're editting text, not uploading files. But when you hit submit, github will be up to date, and you can download a new version (and so can I!)

Cheers
Ed


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 353 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 24  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 16 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: