For consideration in future stuff.
This is a PSOC which has an ARM core + Logic Fabric + Analog Fabric on a chip.
So you drag and drop functions onto a canvas, wire them up, and using APIs control
the functions. In this instance no code is needed,
It has a facility to make custom functions, which I did in this instance, the BCDdigit block.
You can make your own function with schematic capture, or Verilog, or both. In this case
I did it in schematic capture just drag and drop logic elements, like D's and muxes and gates.
What you see is basically an ability to write to latches digit values, then that is fed to a LUT
to create the 7 segment data from BCD values.
I did not add the scan function, eg. a 2 bit counter to round robin the muxing of the digits
out to the display, just ran out of time. But thats trivial as well. Lots of fun. Board to use is
~ $ 10 - $ 15, compiler and tool is free.
This design is codeless. Note you still hit the build button so that the routing gets done,
and chip default setup stuff occurs, which normally you do not have to touch. You can
see in right hand window resources used/left, and most are unused in this case.
You can easily add the chips COM stuff so digit data comes in over a serial link.........
whatever.
This is single chip.
Regards, Dana.