URL
https://opencores.org/ocsvn/openmsp430/openmsp430/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 134 |
Rev 180 |
Line 74... |
Line 74... |
repeat(5) @(posedge mclk);
|
repeat(5) @(posedge mclk);
|
stimulus_done = 0;
|
stimulus_done = 0;
|
|
|
force tb_openMSP430.dut.wdt_reset = 1'b0;
|
force tb_openMSP430.dut.wdt_reset = 1'b0;
|
|
|
`ifdef ASIC
|
`ifdef ASIC_CLOCKING
|
|
|
// MCLK GENERATION: SELECTING DCO_CLK
|
// MCLK GENERATION: SELECTING DCO_CLK
|
//--------------------------------------------------------
|
//--------------------------------------------------------
|
|
|
// ------- Divider /1 ----------
|
// ------- Divider /1 ----------
|
Line 531... |
Line 531... |
//--------------------------------------------------------
|
//--------------------------------------------------------
|
|
|
bcsctl1_mask = 16'h0000;
|
bcsctl1_mask = 16'h0000;
|
bcsctl2_mask = 16'h0000;
|
bcsctl2_mask = 16'h0000;
|
|
|
`ifdef ASIC
|
`ifdef ASIC_CLOCKING
|
`ifdef ACLK_DIVIDER
|
`ifdef ACLK_DIVIDER
|
bcsctl1_mask = bcsctl1_mask | 16'h0030;
|
bcsctl1_mask = bcsctl1_mask | 16'h0030;
|
`endif
|
`endif
|
`else
|
`else
|
bcsctl1_mask = bcsctl1_mask | 16'h0030;
|
bcsctl1_mask = bcsctl1_mask | 16'h0030;
|
Line 545... |
Line 545... |
bcsctl2_mask = bcsctl2_mask | 16'h0080;
|
bcsctl2_mask = bcsctl2_mask | 16'h0080;
|
`endif
|
`endif
|
`ifdef MCLK_DIVIDER
|
`ifdef MCLK_DIVIDER
|
bcsctl2_mask = bcsctl2_mask | 16'h0030;
|
bcsctl2_mask = bcsctl2_mask | 16'h0030;
|
`endif
|
`endif
|
`ifdef ASIC
|
`ifdef ASIC_CLOCKING
|
`ifdef SMCLK_MUX
|
`ifdef SMCLK_MUX
|
bcsctl2_mask = bcsctl2_mask | 16'h0008;
|
bcsctl2_mask = bcsctl2_mask | 16'h0008;
|
`endif
|
`endif
|
`ifdef SMCLK_DIVIDER
|
`ifdef SMCLK_DIVIDER
|
bcsctl2_mask = bcsctl2_mask | 16'h0006;
|
bcsctl2_mask = bcsctl2_mask | 16'h0006;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.