When I tried changing while (1) to always in my led_glow example, I got an error message about in_run
Ah, you've just hit a bug: sylefeb/Silice#113 This would work in any algorithm other than main ... will fix!
inoutare still a bit difficult to use in Silice (requires a small Verilog glue), also something to be improved (sylefeb/Silice#19), so I'll probably specialize to PS/2 for now.
What relationship does that have to the assignments of uart_tx within the block?
The always block is specified before any other code. So besides the always block this
uart_tx=1 is the only thing performed by the algorithm, and only once (while the always block remains always active). This was used to initialize the output to 1 -- no longer necessary, Silice now supports the syntax
output uint1 uart_tx = 1.
Well the first step is to get it to give the same output 0xaa as I get using the keyboard I have. I've got to get a working PS2 keyboard for the ulx3s. Just catching up with the changes that have been made in Silice since I last updated. Mainly, changes to the bram interface passing at the moment.
Just looking at the audo_pwm.ice... THAT I definitely have a use for :)
stty -F /dev/ttyUSB0 raw -echo 115200; cat /dev/ttyUSB0on one terminal and
echo Hello >/dev/ttyUSB0on another, and every other character is lost.