Bus types typecheck!!!
This commit is contained in:
parent
fe2fa21fcc
commit
989c4e9616
3 changed files with 27 additions and 17 deletions
|
@ -21,11 +21,11 @@ mkTestTop = do
|
|||
testType <- mkTestType
|
||||
return $ interface Empty { }
|
||||
|
||||
mkBus :: Vector numClients (BusClient (UInt (TLog numClients)))
|
||||
-> Vector numServers (BusServer (UInt (TLog numClients)) clientTagType)
|
||||
mkBus :: Vector numClients (BusClient inFlightTransactions)
|
||||
-> Vector numServers (BusServer inFlightTransactions numClients)
|
||||
-> Module Empty
|
||||
mkBus clientVec serverVec = do
|
||||
tagEngineByClient :: Vector numClients (TagEngine (TLog numClients))
|
||||
tagEngineByClient :: Vector numClients (TagEngine inFlightTransactions)
|
||||
tagEngineByClient <- replicateM mkTagEngine
|
||||
|
||||
return $ interface Empty { }
|
||||
|
|
Reference in a new issue