Re: [myhdl-list] Example of MyHDL for Python Developers Documentation
Brought to you by:
jandecaluwe
From: Jan C. <jan...@mu...> - 2012-05-19 09:21:19
|
On 19/05/12 02:13, Christopher Lozinski wrote: . . . > Let us lighten up a little bit. And embrace all the wonderful ideas > that this group of people have. Let us face it, we are not mainstream > digital circuit designers. There are some very interesting ideas > floating around. I love Dillon's examples of Hierarchical signals, > complex numbers. I love the idea of building a python processor. Excellent. I have a delightful little processor, not python, but shares some features. It should be able to support interactive code development while running in the MyHDL simulator, but, I got stuck trying to choose the best way to simulate a comm port which would link the development tools to the hardware. perhaps you could fix this? You could also use this design to develop your ideas about higher level hardware description. There is already one example of module reuse in the design. This project is unusual, it is tiny, you will be able to understand the hardware and target code generation from top to bottom, and if successful you will have a silicon embeddable processor capable of interactive code generation and LED blinking. The code set is summarised below, Jan Coombs. -- b16_ComponentList_asat2012-05-19 Hardware Source in MyHDL ------------------------ test_b16.py 3.0 b16_ram.py 11.0 (simple tests) b16_cpu.py 16.6 b16_opcodes 5.2 b16_alu.py 2.2 b16_stack2.py 1.7 ---- 39.7 kB Cross Development Tools in gForth --------------------------------- b16_jc.fs 10.6 assembler &c strings.fs 6.7 string support serial.fs 6.4 PC comm port support syscalls.fs 1.4 PC hw driver access ---- 25.1 kB Code For Target in b16 'Assembler' ---------------------------------- boot.asm 6.2 signon & blink LED b16.asm 2.4 instruction set test sieve.asm 0.5 another test usb.asm 0.3 incomplete --- 9.4 kB Original source: http://bernd-paysan.de/b16.html |