tick_inst = glbl_timer_ticks(glbl, include_seconds=True).

Edward Vidal <[email protected]> Mon, 8 Feb 2016 13:53:24 +0000 (UTC)
Newsgroups gmane.comp.python.myhdl
Message-ID <[email protected]>
Hello All,

Trying to modify icestick_blinky_host.py to catboard_blinky_host.py.

Removed signals pmod, uart_dtr, and uart_rts.  In uartlite I did not see the dtr or dts.
The signal dtr & dts are part of the ports on the icestick.
Added the ports for uart_rx & uart_tx.

chg'ed clock=Clock(0, frequency=100e6),

python catboard_blinky_host.py --test

uartlite 
  baudrate: 115200.000000 actual 115200.000000 
  baud frequency: 288.000, baud limit: 15625.000
  remainder 54.253472

For icestick_blinky_host.py --test
  remainder 27.126736

The following error occurs  both on Ubuntu 12.04 & RPi2B.

pi@mysshserver ~/jpeg-2000-test/pc_fast_blinker_jpeg/input_examples $ python catboard_blinky_host.py --build

I used the error output as the commits message on my repo 

https://github.com/develone/jpeg-2000-test   

Latest commit 1a85064

The error in question is line 35 see below

tick_inst = glbl_timer_ticks(glbl, include_seconds=True).

In another example input_clk.py I use the same line to instantiate tick_inst.
In this example I do not use the signal glbl.tick_sec which is used in catboard_blinky_host.py. Thanks,Have a great day

Edward Vidal Jr. e-mail [email protected] 915-595-1613

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140

_______________________________________________
myhdl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/myhdl-list