Giter Site home page Giter Site logo

A simple starting Point about j1sc HOT 3 OPEN

steffenreith avatar steffenreith commented on July 20, 2024
A simple starting Point

from j1sc.

Comments (3)

PythonLinks avatar PythonLinks commented on July 20, 2024

On further thought I know what I need. A little guidance. The Pico-Ice just has 3 LEDs, red, green and blue, and one button. Your boards all have a lot more options. Can I just start with one of your boards, set almost all of the options to null, and everything should work? Which board is the best one to start with, maybe the most recent software? Which files should I touch. Will all of the null options really get ignored, or will it generate an error?

Then once I get the board working, I can create a separate board definition.

I can eventually figure this stuff out, but some guidance, if you have time, would save me much time.

from j1sc.

PythonLinks avatar PythonLinks commented on July 20, 2024

And obviously I have to give it a pcf file.

Here are some minor potential fixes.

If you take a look at your pcf files.

find . -name "*.pcf" ./doc/lattice/icoboard.pcf ./src/main/lattice/IcoBoard/J1Ico.pcf ./src/main/lattice/IceStick/Pins.pcf ./src/main/lattice/IceBreaker/J1Ice.pcf

I presume that you can delete the one in the doc directory.

I would have expected all of the pcf files, to have the same name, since the directory defines which board they are for. Or to have all of the pcf files in the same directory, but to give them the board name.

Just minor details for future fixing. No rush.

from j1sc.

PythonLinks avatar PythonLinks commented on July 20, 2024

So first of all @SteffenReith did say

(have a look at the devel-branch) to learn the features of SpinalHDL and to serve as a starting point and non-trivial example for a Spinal-beginner.

And while i did immediately go and look at it, I then failed to pop the return stack, read the rest of the sentence, and use it as my starting point. OOPS!

Next up, if you take a look at that devel branch, the file called
J1Sc/src/main/scala/J1Core.scala is really very simple. Somehow much simpler than the original J1 in Verilog. Not quite sure why the code is so much cleaner, but it is.

The problem is that the scala files J1Ice, J1Config, and J1 add a lot of complexity. Really all I need are the J1Core, memory and uart interfaces. Sadly the uart interfaces pull in a whole bunch of other stuff.

I think I need to go into those files, make copies, strip out all but the essential J1 stuff, and then I would have a very simple starting point.
But somehow that is still very scary. I just want a simple starting point.

One more point. If we could move the board files to a directory called boards, and the J1 components to a directory called components, or modules, that would be most helpful in reducing the cognitive load.

from j1sc.

Related Issues (5)

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.