From: Luke Kenneth Casson Leighton Date: Mon, 25 Jun 2018 13:50:42 +0000 (+0100) Subject: rename ioN_inputval to ioN_cell_in X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b42954a1848a14b93ce93da8fbb59b14d947bde;p=pinmux.git rename ioN_inputval to ioN_cell_in --- diff --git a/src/bsv/interface_decl.py b/src/bsv/interface_decl.py index 0741de0..4d37fd4 100644 --- a/src/bsv/interface_decl.py +++ b/src/bsv/interface_decl.py @@ -329,7 +329,7 @@ io_interface = IOInterface( 'io', [{'name': 'cell_out', 'enabled': True, }, {'name': 'cell_outen', 'enabled': True, 'outenmode': True, }, - {'name': 'inputval', 'action': True, 'io': True}, ]) + {'name': 'cell_in', 'action': True, 'io': True}, ]) # == Peripheral Interface definitions == # # these are the interface of the peripherals to the pin mux diff --git a/src/test_bsv/pinmux.bsv b/src/test_bsv/pinmux.bsv index f18f90f..6fd32a7 100644 --- a/src/test_bsv/pinmux.bsv +++ b/src/test_bsv/pinmux.bsv @@ -28,17 +28,17 @@ package pinmux; (*always_ready,always_enabled*) method Bit#(1) io0_cell_out; (*always_ready,always_enabled*) method Bit#(1) io0_cell_outen; (*always_ready,always_enabled,result="io"*) method - Action io0_inputval (Bit#(1) in); + Action io0_cell_in (Bit#(1) in); // interface declaration between IO-1 and pinmux (*always_ready,always_enabled*) method Bit#(1) io1_cell_out; (*always_ready,always_enabled*) method Bit#(1) io1_cell_outen; (*always_ready,always_enabled,result="io"*) method - Action io1_inputval (Bit#(1) in); + Action io1_cell_in (Bit#(1) in); // interface declaration between IO-2 and pinmux (*always_ready,always_enabled*) method Bit#(1) io2_cell_out; (*always_ready,always_enabled*) method Bit#(1) io2_cell_outen; (*always_ready,always_enabled,result="io"*) method - Action io2_inputval (Bit#(1) in); + Action io2_cell_in (Bit#(1) in); // interface declaration between UART-0 and pinmux (*always_ready,always_enabled*) method Action uart_tx (Bit#(1) in); (*always_ready,always_enabled*) method Bit#(1) uart_rx; @@ -211,19 +211,19 @@ package pinmux; method io0_cell_out=cell0_mux_out; method io0_cell_outen=cell0_mux_outen; - method Action io0_inputval(Bit#(1) in); + method Action io0_cell_in(Bit#(1) in); cell0_mux_in<=in; endmethod method io1_cell_out=cell1_mux_out; method io1_cell_outen=cell1_mux_outen; - method Action io1_inputval(Bit#(1) in); + method Action io1_cell_in(Bit#(1) in); cell1_mux_in<=in; endmethod method io2_cell_out=cell2_mux_out; method io2_cell_outen=cell2_mux_outen; - method Action io2_inputval(Bit#(1) in); + method Action io2_cell_in(Bit#(1) in); cell2_mux_in<=in; endmethod