From 531ceb2ca0a30438c9cc85d6e1c58a78d23c5d8c Mon Sep 17 00:00:00 2001 From: Neel Date: Mon, 12 Mar 2018 21:10:39 +0530 Subject: [PATCH] adding synthesize attribute to the module and a print statement for pinmux generation. --- src/pinmux_generator.py | 2 ++ 1 file changed, 2 insertions(+) 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") ######################################################################## -- 2.30.2