Coder Social home page Coder Social logo

daglem / redip-sid Goto Github PK

View Code? Open in Web Editor NEW
86.0 86.0 12.0 41.26 MB

MOS 6581 / 8580 SID FPGA emulation platform

License: Other

SystemVerilog 74.05% Makefile 1.64% Verilog 13.99% Gnuplot 2.14% C++ 7.55% Batchfile 0.04% Shell 0.04% Perl 0.56%

redip-sid's People

Contributors

daglem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redip-sid's Issues

Pot discharge - is it safe?

Hi!

I don't see any resistor in series for potX/Y, it means when pot is in lower resistivity state (~0 Ohm) with strong 5V drive and FPGA is pulling it down to GND then high current will flow. Isn't it dangerous for FPGA/level-shifter/4066?

dfu-util doesn't update

Hello!
I'm trying to use dfu-util:

dfu-util.exe -d 1d50:6159,:6156 -a 0 -D redip_sid.bin -R
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Opening DFU capable USB device...
Device ID 1d50:6159
Device DFU version 0101
Claiming USB DFU (Run-Time) Interface...
Setting Alternate Interface zero...
Determining device status...
Device does not implement get_status, assuming appIDLE
Device really in Run-Time Mode, send DFU detach request...
Device will detach and reattach...
Lost device after RESET?

reDIP-SID disappears from device manager and left in state with CDONE LED ON.

Suggestion for mono dual-chip switch

Hi!
I suggest to use A5 and A8 inputs as 8580/6581 modes switch when compiled as a single SID (SID2 not defined).

i propose change to these lines:

sid::cfg_t sid1_cfg = { sid::MOS6581, sid::D400, 9'd250, 11'sd0 };
sid::cfg_t sid2_cfg = { sid::MOS6581, sid::D400, 9'd250, 11'sd0 };

change it to:

    sid::cfg_t  sid1_cfg = {  cs.a5 ? sid::MOS8580 : sid::MOS6581, sid::D400, 9'd250, -11'sd384 };
    sid::cfg_t  sid2_cfg = { ~cs.a8 ? sid::MOS8580 : sid::MOS6581, sid::D400, 9'd250, -11'sd384 };

{A8,A5} will do:
11 - 8581+6580
01 - 2x6581
10 - 2x8580

So, if user will connect 3-positions switch to A8 and A5 with middle pin to GND, then in middle position it will be a mix of 6581 and 8580 and on side positions it will be either 6581 or 8580. Similar to SIDFX board.
in pcf file these pins need to be pulled up which shouldn't harm as pullup resistor is very weak (20K-100K). So it won't require external pullup resistors.

I believe 99% users will need this mode. Generic user just need to play games and thus simply need to switch between 6581 and 8580 in real time.

I've also added -384 fc_offset, so 6581 mode sounds more generic way like 6581R2/R3 (R4, R4AR are muffling IMHO).

If you want, i can make pull request with required changes.

about SN74CBT16211A

Hi!

On schematics and BOM you've used CBT version with 5V TTL output, so you use voltage divider to get 4.3V which is probably still not good for FPGA. Why you are insisting on this particular version instead of CBTD or CB3T versions providing correct 3.3V level shifting?

5V-tolerant FPGA?

Hi!

in readme you wrote:

All FPGA I/O is 5V tolerant, and can drive 5V TTL.

If it is true then why board uses level shifter?

3v3 reg enable pin

Hi there,

I was checking over the schematic and the design. I have one small concern about the design surrounding the 1.2v regulator and the 3.3v regulator. You have the 1.2v output driving the 3.3v enable pin. Checking the datasheet for the 3.3v regulator however shows:

Chip enable: Applying VEN < 0.4 V disables the regulator, Pulling VEN > 1.2 V enables the LDO

My concern is that the 1.2v output driving this pin is right on the threshold and if the 1.2v dips it could cause the 3.3v to turn off. I seem to recall the ICE40 datasheet showing that the powerup sequence should have 1.2v starting before 3.3v which is why I guess its wired like this.

Would a simple RC circuit be better in this case driving the enable from the 5v rail?

gerber?

Hi!

Can you add gerber for those who have no KiCad installed?
I've tried to import it to Altium Designer (which i'm familiar to), but result wasn't good.

Can't find the ICE chip in the market

There are literally 0 IC of this in the market, in order to build this.
Is this possible that the whole thing works with another FPGA chip that you can find in the market?

Perhaps one from the same product line?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.