projects
/
Mograsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c404f8
)
Changed Modelram5_12's HLS-IDs to have a trailing .q
author
Daniel Kirschten
<daniel.kirschten@gmx.de>
Mon, 7 Oct 2019 00:04:52 +0000
(
02:04
+0200)
committer
Daniel Kirschten
<daniel.kirschten@gmx.de>
Mon, 7 Oct 2019 00:04:57 +0000
(
02:04
+0200)
plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java
patch
|
blob
|
history
tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/am2910/TestableAm2910Impl.java
patch
|
blob
|
history
diff --git
a/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java
b/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java
index
53c9960
..
16c2077
100644
(file)
--- a/
plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java
+++ b/
plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/Modelram5_12.java
@@
-86,7
+86,7
@@
public class Modelram5_12 extends SimpleRectangularHardcodedModelComponent
return (bits[0] == ONE ? 4 : 0) + (bits[1] == ONE ? 2 : 0) + (bits[2] == ONE ? 1 : 0);
}
- Pattern stateIDPattern = Pattern.compile("c(0[10][10]|100)");
+ Pattern stateIDPattern = Pattern.compile("c(0[10][10]|100)
.q
");
@Override
protected Object getHighLevelState(Object state, String stateID)
diff --git
a/tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/am2910/TestableAm2910Impl.java
b/tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/am2910/TestableAm2910Impl.java
index
48b8569
..
ef763df
100644
(file)
--- a/
tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/am2910/TestableAm2910Impl.java
+++ b/
tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/am2910/TestableAm2910Impl.java
@@
-139,7
+139,7
@@
public class TestableAm2910Impl implements TestableAm2910
case S_2:
case S_3:
case S_4:
- return "stack.c" + BitVector.from(r.ordinal(), 3);
+ return "stack.c" + BitVector.from(r.ordinal(), 3)
+ ".q"
;
case SP:
return "sp.q";
case PC: