pinmux.git
6 years agodecoupling interfaces for IO and memory mapped registers
Neel [Mon, 19 Mar 2018 02:52:17 +0000 (08:22 +0530)]
decoupling interfaces for IO and memory mapped registers

6 years agoadding support for JTAG pins
Neel [Sat, 17 Mar 2018 09:20:25 +0000 (14:50 +0530)]
adding support for JTAG pins

6 years agoadding support for interface of SD/MMC.
Neel [Tue, 13 Mar 2018 16:44:45 +0000 (22:14 +0530)]
adding support for interface of SD/MMC.

6 years agocheck for pin number consistency.
Neel [Tue, 13 Mar 2018 15:37:58 +0000 (21:07 +0530)]
check for pin number consistency.

see #3.
Added check to see if the user input has screwed up the pin numbering in punmap.txt. This check detects for duplicate assignment to Pins or if some pins are missed out on assignment.

6 years agorenaming params.py to parse.py. Adding checks on input
Neel [Tue, 13 Mar 2018 12:43:35 +0000 (18:13 +0530)]
renaming params.py to parse.py. Adding checks on input

See #3.

Added check to see if muxed lists and dedicated lists do not have any duplciates.  This can simulated by replacing uart1_tx to uart2_tx in pinmap.txt.

6 years agoadding a sample test where certain IOs have differing number of muxes
Neel [Tue, 13 Mar 2018 12:07:12 +0000 (17:37 +0530)]
adding a sample test where certain IOs have differing number of muxes

6 years agomux selection lines for a IO should be log of the number of muxes.
Neel [Tue, 13 Mar 2018 12:06:03 +0000 (17:36 +0530)]
mux selection lines for a IO should be log of the number of muxes.

6 years agoudpated the .gitignore file.
Neel [Tue, 13 Mar 2018 11:16:37 +0000 (16:46 +0530)]
udpated the .gitignore file.

6 years agomaintaining distinct arrays for muxed and dedicated cells
Neel [Tue, 13 Mar 2018 11:13:11 +0000 (16:43 +0530)]
maintaining distinct arrays for muxed and dedicated cells

This allows better structure of code and also handling muxed logic is decoupled from the dedicated pins. Cell mux methods only for muxed IOs is created.
Parsing of pinmap file now happens in params.py
see #1

6 years agofull support for dedicated pins.
Neel [Tue, 13 Mar 2018 06:24:19 +0000 (11:54 +0530)]
full support for dedicated pins.

6 years agocode clean using pep8 and autopep8.
Neel [Mon, 12 Mar 2018 16:34:31 +0000 (22:04 +0530)]
code clean using pep8 and autopep8.

6 years agoadding synthesize attribute to the module and a print statement for pinmux generation.
Neel [Mon, 12 Mar 2018 15:40:39 +0000 (21:10 +0530)]
adding synthesize attribute to the module and a print statement for pinmux generation.

6 years agopartial support for dedicated pins
Neel [Mon, 12 Mar 2018 12:32:00 +0000 (18:02 +0530)]
partial support for dedicated pins

removed unwanted print statements from scripts

6 years agoaddeds i2c (twi) interface and also support for inouts
Neel [Mon, 12 Mar 2018 12:22:19 +0000 (17:52 +0530)]
addeds i2c (twi) interface and also support for inouts

6 years agoMerge remote-tracking branch 'origin/master'
Neel [Mon, 12 Mar 2018 08:08:40 +0000 (13:38 +0530)]
Merge remote-tracking branch 'origin/master'

6 years agosyntax upgrades for python3 and above
Neel [Mon, 12 Mar 2018 08:08:28 +0000 (13:38 +0530)]
syntax upgrades for python3 and above

6 years agoInitial Bitbucket Pipelines configuration
Neel Gala [Mon, 12 Mar 2018 07:55:57 +0000 (07:55 +0000)]
Initial Bitbucket Pipelines configuration

6 years agochange rule names to allow implicit scheduling
Neel [Sun, 11 Mar 2018 17:07:49 +0000 (22:37 +0530)]
change rule names to allow implicit scheduling

When inputs from multiple IO cells drive the same interface/peripheral there needs to be an implicite priority between the rules updating the same wire (going to the interface). The current pinmap in this commit creates the above scenario.
To enable the implicit scheduling the rules names need to be different. This commit ensures this as well
Also currently the ordering is based on the order in which the user provides the two instances. the first instance os uart_rx is given priority over the later instance in the pinmap.txt file.

6 years agoautomated the pinumxing logic
Neel [Sun, 11 Mar 2018 16:43:31 +0000 (22:13 +0530)]
automated the pinumxing logic

Currently it only supports muxing between inputs and outputs. Handling of inouts will have to be done soon.

6 years agoinitial commit with minimal templates
Neel [Sat, 10 Mar 2018 17:17:45 +0000 (22:47 +0530)]
initial commit with minimal templates

6 years agoREADME.md created online with Bitbucket
Neel Gala [Sat, 10 Mar 2018 17:16:11 +0000 (17:16 +0000)]
README.md created online with Bitbucket