13.07.2015 Views

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sequential PartsBank of Flip-Flops (dff)If rst is asynchronous (rst_type = AsyncActiveHigh or rst_type = AsyncActiveLow):q = rst_val if rst is active (irrespective of the clk trigger)else at every enabled clk trigger (rising edge if clk_type = Rising or falling edge if clk_type =Falling):q = din otherwiseqb = NOT(rst_val) ifrst is active (irrespective of the clk trigger)else at every enabled clk trigger (rising edge if clk_type = Rising or falling edge if clk_type =Falling):qb = NOT(din) otherwiseTruth TableThe following tables are for positive polarities. For negative polarities, invert the values.Asynchronous high reset and positive polarities:Table 8-1. Bank of Flip-Flops Truth Table — Asynchronous High Reset,Positive Polaritiesclk_en clk rst q qb- - 1 rst_val NOT(rst_val)0 posedge 0 q qb1 posedge 0 din NOT(din)Synchronous high reset and positive polarities:Table 8-2. Bank of Flip-Flops Truth Table — Synchronous High Reset,Positive Polaritiesclk_en clk rst q qb0 - - q qb1 posedge 1 rst_val NOT(rst_val)1 posedge 0 din NOT(din)<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 171September 18, 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!