Closed uis246 closed 1 year ago
Some idiotic mistakes were made. Now waiting again.
Looks promising. I'm waiting for #164 first.
I think it's better to merge it as single commit
Awesome. I'll review it next week when I get home. Or maybe yrabbit will have a look. Really exciting to see your contributions!
Awesome. I'll review it next week when I get home. Or maybe yrabbit will have a look. Really exciting to see your contributions!
With my eyes it seems fine, but I don't have any GW2 series boards (it's a Tang Primer 20K, right?) so it's hard to check on hw.
Take the new master and fix your rep, please.
Completely forgot
tangnano9k and tangnano4k - no questions asked, binky-osc works.
tangnano (GW1N-1) generator does not start, here is the movie (first the usual blinky, then blinky-osc-tangnano.fs is loaded) and the output file after nextpnr and binary image. If you can't figure it out by Saturday, I'll look into it:)
https://user-images.githubusercontent.com/6075465/223281505-7d424f26-add0-466f-ad63-a93b295a7355.mp4
'POWER_SAVE' = 'ENABLE' The set fuse 2204 puts the generator into energy saving mode effectively stopping it.
There are different ways to correct this, and it makes sense to check the other supported chips and at least take this parameter into account :)
What if you set 'NORMAL' = 'ENABLE'? Or this is set anyways when OSC is present because default FREQ_DIV is still FREQ_DIV
What if you set 'NORMAL' = 'ENABLE'? Or this is set anyways when OSC is present because default FREQ_DIV is still FREQ_DIV
No, the fuses of this attribute are set by default in the "empty" image, which is then filled in gowin_pack.
That's why I'm saying that there are all sorts of options here to fix this: either do something with the "empty" image or provide for cleanup in gowin_pack...
In the attached file, some edits, after which OSC will work on Tangnano, Tangnano1k, Tangnano4k, Tangnano9k.
Included in https://github.com/YosysHQ/apicula/pull/174
Not tested myself