]> AND Private Git Repository - blast.git/blobdiff - lib/references/apf27-wb-master.xml
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
added clk/rst link when creating a block
[blast.git] / lib / references / apf27-wb-master.xml
index 82ee08afc4441ed29cf4162f5522b01eaa3b5bd8..293b847f3eba200c83c37b04a52090d13093eae0 100644 (file)
@@ -2,9 +2,9 @@
 <block>
   <informations>
     <name>
-      wishbone master for apf27
+      apf27_wb_master
     </name>
-    <category ids="1,4" />  
+    <category ids="8" />  
     <description>
       <brief>
        This block is the wishbone master of the design, connected to the i.MX of APF27
@@ -16,6 +16,7 @@
   </informations>
 
   <parameters>
+    <parameter name="imx_clk" type="positive" value="133" context="user"/>
   </parameters>
 
   <interfaces>
       <input name="clk" type="boolean" width="1" purpose="clock" />
       <input name="rst" type="boolean" width="1" purpose="reset" />
       
-      <input name="imx_addr" type="expression" width="$wb_addr_width" level="top"/>
-      <input name="imx_cs_n" type="boolean" width="1" level="top"/>
-      <input name="imx_oe_n" type="boolean" width="1" level="top"/>
-      <input name="imx_eb3_n" type="boolean" width="1" level="top"/>
+      <input name="imx_addr" type="expression" width="$wb_addr_width" clock="$imx_clk" />
+      <input name="imx_data" type="expression" width="$wb_data_width" clock="$imx_clk" />      
+      <input name="imx_cs_n" type="boolean" width="1" clock="$imx_clk" />
+      <input name="imx_oe_n" type="boolean" width="1" clock="$imx_clk"/>
+      <input name="imx_eb3_n" type="boolean" width="1" clock="$imx_clk"/>
       
       <input name="ack_i" type="boolean" width="1" purpose="wb" />
       <input name="dat_i" width="$wb_data_width" purpose="wb" />
@@ -39,7 +41,7 @@
       <output name="we_o" type="boolean" width="1" purpose="wb" />
     </outputs>
     <bidirs>
-      <bidir name="imx_data" width="$wb_data_width" level="top"/>
+      <bidir name="imx_data" width="$wb_data_width"/>
     </bidirs>
   </interfaces>