增加时序约束注释
This commit is contained in:
@@ -33,7 +33,26 @@ abstract class SyncSpiInterfaceBase extends Module with RequireAsyncReset{
|
||||
val isPing_async = withClockAndReset(posedge_sck, qspi.csn.asAsyncReset){ RegInit(false.B) }
|
||||
|
||||
|
||||
/* 以SCK : CLOCK = 1 : 2 进行分析
|
||||
@ SCK 5 posedge isEnR_Async(0) @ SCK 8 negedge exRego
|
||||
@ SCK 7 posedge isEnR_Async(1) @ SCK 10 negedge exRego
|
||||
@ SCK 9 posedge isEnR_Async(0) @ SCK 12 negedge exRego
|
||||
约束 datar_sync(0) -> exRego
|
||||
约束 datar_sync(1) -> exRego
|
||||
datar_sync保持时间4*SCK
|
||||
min 0
|
||||
max < 2*SCK
|
||||
*/
|
||||
|
||||
/*
|
||||
约束 addrw_async -> io_addrw
|
||||
约束 addrr_async -> io_addrr
|
||||
约束 dataw_async -> io_dataw
|
||||
两次isEnX间隔 2*SCK 1:2频率 有4*CLOCK 最坏仅需3*clock
|
||||
dataw_async保持时间4*SCK
|
||||
min 0
|
||||
max < 2*clock
|
||||
*/
|
||||
|
||||
|
||||
val isPong_sync = RegInit(false.B)
|
||||
|
||||
Reference in New Issue
Block a user