aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems/17-Transpose-MAB/01.vsm
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-09-05 04:13:23 +0900
committernsfisis <nsfisis@gmail.com>2024-09-05 04:13:23 +0900
commitdad39e540a3250f718335ea10f1ef3e75d9982da (patch)
treed4efc54a972d76a94f213059596bc6ed16a6b76f /problems/17-Transpose-MAB/01.vsm
parent01758fd79a455090167699819cbffd6598cc4f63 (diff)
downloadmncore-challenge-dad39e540a3250f718335ea10f1ef3e75d9982da.tar.gz
mncore-challenge-dad39e540a3250f718335ea10f1ef3e75d9982da.tar.zst
mncore-challenge-dad39e540a3250f718335ea10f1ef3e75d9982da.zip
17-Transpose-MAB (incomplete)
Diffstat (limited to 'problems/17-Transpose-MAB/01.vsm')
-rw-r--r--problems/17-Transpose-MAB/01.vsm28
1 files changed, 28 insertions, 0 deletions
diff --git a/problems/17-Transpose-MAB/01.vsm b/problems/17-Transpose-MAB/01.vsm
new file mode 100644
index 0000000..5e1ebf8
--- /dev/null
+++ b/problems/17-Transpose-MAB/01.vsm
@@ -0,0 +1,28 @@
+lpackbit $subpeid $ls0 $t
+nop
+l1bmd $lmt0v8 $lb0
+
+# 4.times do |cycle|
+# 16.times do |mab|
+# 4.times do |pe|
+# l1b_addr = cycle * 4 * 16 + mab * 4 + pe
+# puts "#{"%3d" % l1b_addr}: mab[#{"%2d" % mab}] pe[#{pe}] $lm#{cycle * 8 + pe * 2}"
+# end
+# end
+# end
+
+l1bmd+1 $lb0 $lm1024
+l1bmd+2 $lb0 $lm1024
+l1bmd+3 $lb0 $lm1024
+l1bmd+4 $lb0 $lm1024
+l1bmd+5 $lb0 $lm1024
+l1bmd+6 $lb0 $lm1024
+l1bmd+7 $lb0 $lm1024
+l1bmd+8 $lb0 $lm1024
+l1bmd+9 $lb0 $lm1024
+l1bmd+10 $lb0 $lm1024
+l1bmd+11 $lb0 $lm1024
+l1bmd+12 $lb0 $lm1024
+l1bmd+13 $lb0 $lm1024
+l1bmd+14 $lb0 $lm1024
+l1bmd+15 $lb0 $lm1024