Shop OBEX P1 Docs P2 Docs Learn Events
Is anyone intrested in a new SX simulator. — Parallax Forums

Is anyone intrested in a new SX simulator.

Doug HaleDoug Hale Posts: 23
edited 2007-09-29 16:55 in General Discussion
About 5 years ago, I had a client project that was going to use a half a dozen SX52s. I wanted to simulate all of them together so I started working on a simulator to do that. The project was canceled and I stopped work on the simulator. I have recently picked it up again and am near near completion but I need some help with test and validation.

This is NOT just an ISA simulator, it is trying to be a cycle by cycle simulator so that interconnects between the SX's and other added components can be simulated. There is no documentation. If there is interest in it, I will create some documentation.

The simulator uses DLLs as the component models so it is extensible. The SX20/28 and the SX48/52 models are DLLs just like an.y other component. (Someday I would like to develope a Propeller model as well). If there is interest, the DLL interface can also be documented so others can add models.

The simulator, models, and utilities represent over 75,000 lines of Object Pascal (Delphi7).

Current State:
The simulator is functional - allows adding models to a design and interconnecting them using either text mode or graphics mode - (the scematic pages of the design can be printed).
The SX20/28 and the SX48/52 models are complete and functional - complete verification is needed.
Other models exists and are functional: TTL decoders, latches, bus drivers, etc. CMOS RAM, generic ram, and gates. etc.
SXconfigurator - generates configuration code from a GUI. - complete - needs QA
Assembler/IDE - Complete - needs QA.


If you are interested, in helping or just using the simulator and tools, let me know at SXtools@doughale.com
I will try to put together some minimal documentation quickly if there is interest.

Also, one of the things I would like to simulate is the actuall programming of the device. I would need some help from Parallax to know the content and format of the programming data to do that.

Doug Hale
SXtools@doughale.com

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-09-24 16:47
    I hate to see all that work go to waste, one might say you are a little late to the party. Guenther has dilligently struggled to make his Simulator bug free. His doesn't have specific documentation, but he does have a tutorial text that can be explored with it.

    Nonetheless, there always might be someone around here that will see this an opportunity to upgrade their knowlege and programing skills. I may be wrong, but I believe that the current simulator doesn't support the SX52 as it is no longer in production.

    Also, you say you can interconnect SXes. With the newer, faster computers - 64bit, dual processors - that might really be something to explore. If the Propeller may eventually be included, whatever you are creating is beyond my limited comprehension, but sounds like 'mind candy' to some of the more adept.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • Doug HaleDoug Hale Posts: 23
    edited 2007-09-24 19:46
    I have placed some screen shots of My SXtools 0n my website. (http://doughale.com) Click on SX Tools under Misc:
  • James NewtonJames Newton Posts: 329
    edited 2007-09-24 23:39
    The screen shots are amazing...

    The (aparent) ability to draw a schematic with all those different types of components connected to the SX and then simulate not only the SX, but what the components are doing is REALLY...

    Amazing? Useful? Fantastic? Wild?

    If that actually works, all I can say is...

    WOW!

    But you haven't said how you will distribute it...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ---
    James Newton, Host of SXList.com
    james at sxlist,com 1-619-652-0593 fax:1-208-279-8767
    SX FAQ / Code / Tutorials / Documentation:
    http://www.sxlist.com Pick faster!



  • Doug HaleDoug Hale Posts: 23
    edited 2007-09-25 00:48
    Thanks James,
    Not all the components are function, But I intend to work on them.
    If you send me your email address at SXtools@doughale.com
    I'll send you a URL to the installer.

    I'm not yet ready to openly distribute it. It isn't complete or ready.
    But I could certainly use some testing help.
    I really don't intend to make it a commercial product, but I also don't intend to release the
    source to the public. But If people want to help, some if not all will be availibe to them.


    Doug Hale
    http://doughale.com
    SXlist@doughale.com


    Here is the list: (All are drawn - and some marked non-f. are nearly functional)
    74138 60 130 Functional Name
    74139 60 140 Functional Name
    74244 60 170 Functional Name
    74245 60 140 Functional-untested Name
    74573 60 140 Functional-untested Name
    AD7873 60 110 Non-functional Name
    Am29LV065D 60 330 Non-functional Name
    Am29LV116D 60 300 Non-functional Name,Package=Standard|Reverse
    NPN 30 60 Non-functional Name, Type
    PNP 30 60 Non-functional Name, Type
    Capacitor 40 40 Non-functional Name, Value
    CD4066 60 100 Non-functional Name
    ClockGen 40 70 Functional Name,"Low","High"
    Connector 40 30 Non-functional Name,Count
    Counter 60 40 Functional Name,"Number of Bits"
    Decode 60 40 Functional Name,"Select Bits"
    Diode 80 40 Non-functional Name, Type
    Driver 60 50 Functional Name,"Select Bits"
    Gate 60 40 Functional Name,"Gate type=AND|OR|XOR|NAND|NOR|XNOR","Inputs"
    Generic 80 160 Non-functional Name, Type
    Inductor 40 40 Non-functional Name, Value
    Keypad 60 30 Functional Name,"Number of Rows","Number of Columns"
    Latch 60 50 Functional Name,"Select Bits"
    LCD 60 150 Non-functional Name
    M68AW031A 60 210 Non-functional Name
    MAX749 50 70 Non-functional Name
    MAX770 60 70 Non-functional Name
    RAM 60 220 Non-functional Name,"Number of Data bits","Number of Address bits","Backing Filenae"
    MOLEX5597_14A 60 170 Non-functional Name
    MOLEX5597_8A 60 110 Non-functional Name
    Mux 60 50 Non-functional Name,"Select Bits"
    Optrex 60 150 Non-functional Name
    P4095 80 110 Non-functional Name
    PAL22V10 60 150 Non-functional Name,Filename
    Rack 60 310 Non-functional Name
    Registor 60 50 Functional Name,"Select Bits"
    Resister 40 40 Non-functional Name, Value
    CerRes 40 60 Functional Name,Delay
    Sequencer 80 40 Functional Name,"ROM Filename","Addres Bits","Control Bits",...,"Output name base","Bits"
    Watch 40 40 Functional Name,"Bit Count","-Trace File Name"
    SRAM16x8 60 210 Non-functional Name
    SRAM64x8 60 230 Non-functional Name
    SX48BD 70 380 Functional Name,SelfClock=YES|NO
    SX52BD 70 380 Functional Name,SelfClock=YES|NO
    TC58128 60 160 Non-functional Name
    Vref 30 60 Non-functional Name, Type
    XTAL 80 40 Functional Name,Delay
    Z80-CPU 80 280 Non-functional Name
    Z80-CTC 80 210 Non-functional Name
    Z80-DMA 80 260 Non-functional Name
    Z80-PIO 80 270 Non-functional Name
    Z80-SIO/0 80 270 Non-functional Name
    Z80-SIO/1 80 270 Non-functional Name
    Z80-SIO/2 80 270 Non-functional Name
  • Doug HaleDoug Hale Posts: 23
    edited 2007-09-27 22:44
    I have done some major work on My assembler/IDE and Configurator and updated screen shots are on http://doughale.com/SXtools. For those who have downloaded it, The new one is available.
    For those who would like to get it, drop me a line at SXtools@doughale.com. Tell me in the eMail if you would line to be notified of updates or Not to eMail you again.
    I am going to spend a lot of time on the simulator so now would be a good time for user input.
  • Doug HaleDoug Hale Posts: 23
    edited 2007-09-28 21:28
    Some very early documentation is now availible at http://www.doughale.com/SXtools/SXtools.pdf
  • Doug HaleDoug Hale Posts: 23
    edited 2007-09-29 16:55
    The documentation is now in HTML online. There is also a link to download the .PDF.

    the url is http://www.doughale.com/SXtools
Sign In or Register to comment.