OpenCores
URL https://opencores.org/ocsvn/sdhc-sc-core/sdhc-sc-core/trunk

Subversion Repositories sdhc-sc-core

[/] [sdhc-sc-core/] [trunk/] [grpSd/] [unitSdClockMaster/] [src/] [SdClockMaster.psl] - Blame information for rev 185

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 129 rkastl
 -- PSL assertions for SdClockMaster
2
 
3
vunit vSdClockMaster(SdClockMaster) {
4
  default clock is (iClk'event and iClk='1');
5
 
6
  -- strobe at least one clock cycle before falling edge
7 130 rkastl
  assert always ({oSdStrobe} |=> {not oSdStrobe; (not oSdStrobe and oSdCardClk)[*]; not oSdCardClk}) abort iRstSync;
8 129 rkastl
 
9 130 rkastl
  -- check oSdCardClk
10
  -- assert always (not oSdCardClk -> eventually! oSdCardClk) abort iDisable;
11
  assert always (not oSdCardClk -> { (not oSdCardClk)[*]; oSdCardClk}) abort iDisable;
12 129 rkastl
 
13
  -- check disable
14 130 rkastl
  assert always ({iDisable} |=> not oSdStrobe);
15 129 rkastl
}
16
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.