projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26fa82e
)
Don't inline register_bank.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 12 Aug 2009 15:11:43 +0000
(17:11 +0200)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 12 Aug 2009 15:11:43 +0000
(17:11 +0200)
Alu.hs
patch
|
blob
|
history
diff --git
a/Alu.hs
b/Alu.hs
index edb4d1a7440d63b9447ec7264fdc2595700cdd8a..e1aff99e98bbafc444ef29035dcaed1c2817781f 100644
(file)
--- a/
Alu.hs
+++ b/
Alu.hs
@@
-30,6
+30,7
@@
type RegAddr = Bit
type RegisterBankState = State (Word, Word)
--data RegisterBankState = Regs { r0, r1 :: Bit} deriving (Show)
+{-# NOINLINE register_bank #-}
register_bank ::
RegAddr -- ^ Address
-> Bit -- ^ Write Enable