From: Neel Date: Mon, 12 Mar 2018 15:40:39 +0000 (+0530) Subject: adding synthesize attribute to the module and a print statement for pinmux generation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=531ceb2ca0a30438c9cc85d6e1c58a78d23c5d8c;p=pinmux.git adding synthesize attribute to the module and a print statement for pinmux generation. --- diff --git a/src/pinmux_generator.py b/src/pinmux_generator.py index 654eb6b..8041b6c 100644 --- a/src/pinmux_generator.py +++ b/src/pinmux_generator.py @@ -100,6 +100,7 @@ for i in range(0,N_TWI): ####=== finish interface definition and start module definition===#### bsv_file.write(''' endinterface + (*synthesize*) module mkpinmux(Ifc_pinmux); ''') ###################################################################### @@ -154,4 +155,5 @@ for i in range(0,N_SPI): for i in range(0,N_TWI): bsv_file.write(twiinterface_def.format(i)) bsv_file.write(footer) +print("BSV file successfully generated: bsv_src/pinmux.bsv") ########################################################################