Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

j1a IO is broken (SEVERE) #37

Closed
RGD2 opened this issue Aug 22, 2016 · 7 comments
Closed

j1a IO is broken (SEVERE) #37

RGD2 opened this issue Aug 22, 2016 · 7 comments

Comments

@RGD2
Copy link
Contributor

RGD2 commented Aug 22, 2016

This is on swapforth@9157271 , YosysHQ/arachne-pnr@52e69ed , and YosysHQ/yosys@7a33b98

Symptoms: LED's on iceStick (and possibly other IO ports) don't set/clear properly.

Steps to reproduce (with iceStick plugged in):

cd swapforth/j1a
make clean
make 
sudo make bootstrap 
sudo make j1a connect
-1 leds

After this, one led is not lit, but -1 -1 leds drop will set all, likewise -1 0 leds drop will leave that one led on.

The affected .bin, .blif and .txt are here:
broken_j1a.zip

@RGD2 RGD2 changed the title j1a IO is broken j1a IO is broken (SEVERE) Aug 22, 2016
@RGD2
Copy link
Contributor Author

RGD2 commented Aug 22, 2016

Also under YosysHQ/yosys@21e1bac as well as YosysHQ/yosys@7a33b98 on arm.

@RGD2
Copy link
Contributor Author

RGD2 commented Aug 22, 2016

the obvious kludgy workaround is : leds dup leds drop ; , but this problem hints at deeper trouble.

@bmentink
Copy link

..this is still broken, also reads from led port, turns random led's on ...

@RGD2
Copy link
Contributor Author

RGD2 commented Sep 29, 2016

Please save and upload the j1a.blif and .bin.

This seems to happen only sometimes, and I'd like to get to the bottom of
it.

On Thursday, 29 September 2016, bmentink notifications@github.com wrote:

..this is still broken, also reads from led port, turns random led's on ...


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#37 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO8-GBDQskqK5R3S2AuOVtv7pmby4fqFks5qu2JwgaJpZM4Jpkde
.

-- Remy

@bmentink
Copy link

bmentink commented Sep 29, 2016

Here is a link to the files: https://dl.dropboxusercontent.com/u/80752266/j1a.zip
Usually doing -1 leds, turns on only 4 led's .. -1 -1 leds drop fixes ..

@bmentink
Copy link

bmentink commented Oct 2, 2016

I have just updated yosys to r2983.4eb0d6f-1 and arachne-pnr to r171.52e69ed-1 and the LED's seem to work just fine now ( This is latest builds from AUR on ArchLinux)

EDIT: Of the two packages, I think it was yosys that did the trick ..

@RGD2
Copy link
Contributor Author

RGD2 commented Nov 25, 2016

Yosys: git rev-parse --short head gives 5c2c78e.

aand it's fixed here too. Closed.

@RGD2 RGD2 closed this as completed Nov 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants