Luke Kenneth Casson Leighton [Mon, 9 Jul 2018 04:32:57 +0000 (05:32 +0100)]
auto-generate top-level module which accepts multiple class objects
Luke Kenneth Casson Leighton [Mon, 9 Jul 2018 02:13:39 +0000 (03:13 +0100)]
modify test2 to take one argument: array of inputs
Luke Kenneth Casson Leighton [Mon, 9 Jul 2018 02:04:30 +0000 (03:04 +0100)]
add test module which is dynamically created
Luke Kenneth Casson Leighton [Fri, 6 Jul 2018 20:37:56 +0000 (21:37 +0100)]
pep8 whitespace cleanup
rishucoding [Fri, 6 Jul 2018 16:46:16 +0000 (22:16 +0530)]
outen is 0 when iopad is supplying input
rishucoding [Fri, 6 Jul 2018 16:37:42 +0000 (22:07 +0530)]
adding cocotb test for multi pin single FN_out
rishucoding [Fri, 6 Jul 2018 16:33:21 +0000 (22:03 +0530)]
whoops.... restoring to commit
c4f99657f70
rishucoding [Fri, 6 Jul 2018 14:00:01 +0000 (19:30 +0530)]
Merge branch 'master' of libre-riscv.org:/pinmux
rishucoding [Fri, 6 Jul 2018 13:58:17 +0000 (19:28 +0530)]
adding cocotb test for multi pin single FN_out
Luke Kenneth Casson Leighton [Fri, 6 Jul 2018 02:39:12 +0000 (03:39 +0100)]
add myhdl experiments
Luke Kenneth Casson Leighton [Thu, 5 Jul 2018 01:12:02 +0000 (02:12 +0100)]
add class experiment
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 22:33:21 +0000 (23:33 +0100)]
make arguments to pmux4 a list, as an experiment (worked)
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 22:08:32 +0000 (23:08 +0100)]
test priority mux4
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 19:33:34 +0000 (20:33 +0100)]
alter muxer, no clock-dependency, add priority muxer to be tested
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 15:22:02 +0000 (16:22 +0100)]
add explanation in PinGen class
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 13:36:38 +0000 (14:36 +0100)]
remove extraneous clock cycle
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 13:36:22 +0000 (14:36 +0100)]
whitespace pep8 cleanup
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 13:35:02 +0000 (14:35 +0100)]
add multi-input mux test
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 13:12:02 +0000 (14:12 +0100)]
add new multi-input test
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 13:05:34 +0000 (14:05 +0100)]
update test pinmux.bsv
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 13:03:47 +0000 (14:03 +0100)]
add 2nd copy of i2c_sda to microtest,\
to do multi-in test
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 12:55:11 +0000 (13:55 +0100)]
remove unnecessary clock cycle
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 11:00:39 +0000 (12:00 +0100)]
remove tristate tests
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 09:54:52 +0000 (10:54 +0100)]
nope it really is pad 2 for twi_scl...
Luke Kenneth Casson Leighton [Wed, 4 Jul 2018 09:49:44 +0000 (10:49 +0100)]
put twi_scl test back to the right mux value
rishucoding [Wed, 4 Jul 2018 07:07:11 +0000 (12:37 +0530)]
correction in enable and selection lines for twi_scl
rishucoding [Tue, 3 Jul 2018 17:02:00 +0000 (22:32 +0530)]
added docstring for gpio2
rishucoding [Tue, 3 Jul 2018 15:22:46 +0000 (20:52 +0530)]
added dut._log.info message for twi_sda
rishucoding [Tue, 3 Jul 2018 15:20:45 +0000 (20:50 +0530)]
modified passed test dut_log.info
Luke Kenneth Casson Leighton [Tue, 3 Jul 2018 13:39:37 +0000 (14:39 +0100)]
reorganise tests, split into separate functions
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 22:37:49 +0000 (23:37 +0100)]
corrected some of the errors, moved (or added) clock pulses
otherwise simulation doesnt have time to propagate the signals
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 22:32:30 +0000 (23:32 +0100)]
remove spurious timer pulse, add log message, io1_cell is z (tristate). odd
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 22:28:14 +0000 (23:28 +0100)]
move ok log message
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 22:22:28 +0000 (23:22 +0100)]
moving enablers for twi_scl to where twi_scl is set up.
this is important because two changes at once might cause
problems
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 22:19:02 +0000 (23:19 +0100)]
wrong test changed, uart_tx being set to 1, must test iocell0=1
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 22:15:50 +0000 (23:15 +0100)]
pep8 whitespace cleanup
rishucoding [Mon, 2 Jul 2018 21:03:55 +0000 (02:33 +0530)]
fixed bug : iocell_side_io0_cell_out is a reg, initial value is 0
rishucoding [Mon, 2 Jul 2018 16:36:24 +0000 (22:06 +0530)]
changing comment to docstring
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 16:26:54 +0000 (17:26 +0100)]
add spec testing.py
rishucoding [Mon, 2 Jul 2018 13:58:19 +0000 (19:28 +0530)]
correction in test_failure strings
rishucoding [Mon, 2 Jul 2018 13:49:39 +0000 (19:19 +0530)]
Added test case for twi
rishucoding [Mon, 2 Jul 2018 12:07:49 +0000 (17:37 +0530)]
Adding comments to interface_decl.py
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 11:20:58 +0000 (12:20 +0100)]
add in dummy testing mode
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 09:56:01 +0000 (10:56 +0100)]
pep8 cleanup
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 08:36:49 +0000 (09:36 +0100)]
add input tests
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 08:21:37 +0000 (09:21 +0100)]
comments
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 08:01:30 +0000 (09:01 +0100)]
add some more unit tests as an experiment
Luke Kenneth Casson Leighton [Mon, 2 Jul 2018 04:53:41 +0000 (05:53 +0100)]
add cocotb test
Luke Kenneth Casson Leighton [Sun, 1 Jul 2018 23:31:47 +0000 (00:31 +0100)]
create a val0 which is set to 0 to get round compilation error
Luke Kenneth Casson Leighton [Sun, 1 Jul 2018 23:28:43 +0000 (00:28 +0100)]
hack for the outputs, get rid of _out for non-inouts
Luke Kenneth Casson Leighton [Sun, 1 Jul 2018 23:22:23 +0000 (00:22 +0100)]
pick up function keys different way
Luke Kenneth Casson Leighton [Fri, 29 Jun 2018 15:06:56 +0000 (16:06 +0100)]
remove typo X
Luke Kenneth Casson Leighton [Fri, 29 Jun 2018 08:09:42 +0000 (09:09 +0100)]
update microtest baseline bsv
Luke Kenneth Casson Leighton [Fri, 29 Jun 2018 08:09:30 +0000 (09:09 +0100)]
set output-only via GPIO direction
Luke Kenneth Casson Leighton [Thu, 28 Jun 2018 12:10:43 +0000 (13:10 +0100)]
add a check to the spec generator, list pins not found
Luke Kenneth Casson Leighton [Wed, 27 Jun 2018 10:32:39 +0000 (11:32 +0100)]
remove print statements
Luke Kenneth Casson Leighton [Tue, 26 Jun 2018 14:15:57 +0000 (15:15 +0100)]
fix bug in dedicated cell type detection
Luke Kenneth Casson Leighton [Tue, 26 Jun 2018 06:44:50 +0000 (07:44 +0100)]
add comment to mkmux function
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 22:24:26 +0000 (23:24 +0100)]
pep8 cleanup
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 16:11:10 +0000 (17:11 +0100)]
add comments for priority muxer inputs
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 16:05:12 +0000 (17:05 +0100)]
whoops got comments wrong way round
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 15:21:03 +0000 (16:21 +0100)]
add in some comments
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 15:20:30 +0000 (16:20 +0100)]
add in some comments
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 14:46:54 +0000 (15:46 +0100)]
add in some comments
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 14:13:43 +0000 (15:13 +0100)]
update test file to match auto-generated
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 14:13:13 +0000 (15:13 +0100)]
split out iocells to separate interface, just makes more sense
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 13:50:42 +0000 (14:50 +0100)]
rename ioN_inputval to ioN_cell_in
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 13:14:27 +0000 (14:14 +0100)]
remove GenericIOType and FunctionType for now
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 11:27:16 +0000 (12:27 +0100)]
change enabled mode, to look lke test output
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 11:26:54 +0000 (12:26 +0100)]
change order of declarations, to look like output
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 11:14:28 +0000 (12:14 +0100)]
reformat declarations to look like test file, bit hacky...
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 10:53:29 +0000 (11:53 +0100)]
split mux-generation into separate function, use it for both out and outen
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 10:51:07 +0000 (11:51 +0100)]
correct test file
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 10:20:10 +0000 (11:20 +0100)]
cell mux bitwidth 2
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 09:17:44 +0000 (10:17 +0100)]
pep8 cleanup
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 09:15:48 +0000 (10:15 +0100)]
use tabs not spaces
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 09:13:53 +0000 (10:13 +0100)]
2 wires per cell muxer
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 09:04:35 +0000 (10:04 +0100)]
extend mux entries in test file to cover up to 1<<cell_bitwidth
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 08:56:11 +0000 (09:56 +0100)]
do full cell mux range otherwise spurious outputs occur
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 08:45:07 +0000 (09:45 +0100)]
move cell_bit_width function
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 08:27:18 +0000 (09:27 +0100)]
add comment insertion thing into muxer output
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 08:12:57 +0000 (09:12 +0100)]
clarify out-mux formatting
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 08:04:19 +0000 (09:04 +0100)]
remove debug print
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:53:59 +0000 (08:53 +0100)]
corrections to hand-coded file
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:53:13 +0000 (08:53 +0100)]
whoops counting cell bit width, maths wrong
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:41:21 +0000 (08:41 +0100)]
spelling corrections
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:32:37 +0000 (08:32 +0100)]
rename twi0 and uart0 single functions
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:31:43 +0000 (08:31 +0100)]
removing GenericIOType, sorting out function names
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:13:07 +0000 (08:13 +0100)]
correct microtest spec, single interface must take out numbering
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:11:34 +0000 (08:11 +0100)]
start removing GenericIOType
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:04:04 +0000 (08:04 +0100)]
change hand-edited bsv to bsv comments
Luke Kenneth Casson Leighton [Mon, 25 Jun 2018 07:03:49 +0000 (08:03 +0100)]
whoops use bsv comments not python comments!
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 14:36:34 +0000 (15:36 +0100)]
change ioN_cell to methods, stop using GenericIOType
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 13:24:11 +0000 (14:24 +0100)]
add cell outen wires
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 12:58:02 +0000 (13:58 +0100)]
add comments
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 12:28:41 +0000 (13:28 +0100)]
add preliminary mux-out wire
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 12:19:32 +0000 (13:19 +0100)]
add auto-generated test pinmux.bsv, to be edited and modified
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 11:10:10 +0000 (12:10 +0100)]
whoops accidentally removed all parameters not just pad-characteristics
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 11:09:20 +0000 (12:09 +0100)]
reduce microtest further in size
Luke Kenneth Casson Leighton [Sun, 24 Jun 2018 11:06:38 +0000 (12:06 +0100)]
rename minitest to microtest