Livt packages

Eccelerators.RiscV

Version 0.3.0

Composable RV32I and Zmmul processors, machine-mode support, and reusable FPGA system components written in Livt.

Published files (120)

tests/fixtures/multiply-retirement.json

{
  "words": [
    183,
    32915,
    311,
    4293984531,
    35684787,
    183,
    4293951635,
    311,
    4293984531,
    35684531,
    2147483831,
    32915,
    311,
    4293984531,
    35684659,
    2147483831,
    32915,
    2147483959,
    65811,
    35684403,
    2147483831,
    4293951635,
    2147483959,
    65811,
    35684787,
    183,
    4293951635,
    2147483959,
    4293984531,
    35684531,
    123457719,
    3511713939,
    987656503,
    2333147411,
    35684659,
    2863313079,
    2862645395,
    1431654711,
    1431372051,
    35684403,
    183,
    32915,
    311,
    4293984531,
    35688883,
    183,
    4293951635,
    311,
    4293984531,
    35688627,
    2147483831,
    32915,
    311,
    4293984531,
    35688755,
    2147483831,
    32915,
    2147483959,
    65811,
    35688499,
    2147483831,
    4293951635,
    2147483959,
    65811,
    35688883,
    183,
    4293951635,
    2147483959,
    4293984531,
    35688627,
    123457719,
    3511713939,
    987656503,
    2333147411,
    35688755,
    2863313079,
    2862645395,
    1431654711,
    1431372051,
    35688499,
    183,
    32915,
    311,
    4293984531,
    35692979,
    183,
    4293951635,
    311,
    4293984531,
    35692723,
    2147483831,
    32915,
    311,
    4293984531,
    35692851,
    2147483831,
    32915,
    2147483959,
    65811,
    35692595,
    2147483831,
    4293951635,
    2147483959,
    65811,
    35692979,
    183,
    4293951635,
    2147483959,
    4293984531,
    35692723,
    123457719,
    3511713939,
    987656503,
    2333147411,
    35692851,
    2863313079,
    2862645395,
    1431654711,
    1431372051,
    35692595,
    183,
    32915,
    311,
    4293984531,
    35697075,
    183,
    4293951635,
    311,
    4293984531,
    35696819,
    2147483831,
    32915,
    311,
    4293984531,
    35696947,
    2147483831,
    32915,
    2147483959,
    65811,
    35696691,
    2147483831,
    4293951635,
    2147483959,
    65811,
    35697075,
    183,
    4293951635,
    2147483959,
    4293984531,
    35696819,
    123457719,
    3511713939,
    987656503,
    2333147411,
    35696947,
    2863313079,
    2862645395,
    1431654711,
    1431372051,
    35696691,
    34636339,
    33587891,
    787,
    1048691
  ],
  "trace": [
    {
      "pc": 0,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 4,
      "instruction": 32915,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 8,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 12,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 16,
      "instruction": 35684787,
      "rd": 3,
      "value": 0
    },
    {
      "pc": 20,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 24,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 28,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 32,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 36,
      "instruction": 35684531,
      "rd": 1,
      "value": 1
    },
    {
      "pc": 40,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 44,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 48,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 52,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 56,
      "instruction": 35684659,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 60,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 64,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 68,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 72,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 76,
      "instruction": 35684403,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 80,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 84,
      "instruction": 4293951635,
      "rd": 1,
      "value": 2147483647
    },
    {
      "pc": 88,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 92,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 96,
      "instruction": 35684787,
      "rd": 3,
      "value": 2147483648
    },
    {
      "pc": 100,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 104,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 108,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 112,
      "instruction": 4293984531,
      "rd": 2,
      "value": 2147483647
    },
    {
      "pc": 116,
      "instruction": 35684531,
      "rd": 1,
      "value": 2147483649
    },
    {
      "pc": 120,
      "instruction": 123457719,
      "rd": 1,
      "value": 123457536
    },
    {
      "pc": 124,
      "instruction": 3511713939,
      "rd": 1,
      "value": 123456789
    },
    {
      "pc": 128,
      "instruction": 987656503,
      "rd": 2,
      "value": 987656192
    },
    {
      "pc": 132,
      "instruction": 2333147411,
      "rd": 2,
      "value": 987654321
    },
    {
      "pc": 136,
      "instruction": 35684659,
      "rd": 2,
      "value": 4227814277
    },
    {
      "pc": 140,
      "instruction": 2863313079,
      "rd": 1,
      "value": 2863312896
    },
    {
      "pc": 144,
      "instruction": 2862645395,
      "rd": 1,
      "value": 2863311530
    },
    {
      "pc": 148,
      "instruction": 1431654711,
      "rd": 2,
      "value": 1431654400
    },
    {
      "pc": 152,
      "instruction": 1431372051,
      "rd": 2,
      "value": 1431655765
    },
    {
      "pc": 156,
      "instruction": 35684403,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 160,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 164,
      "instruction": 32915,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 168,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 172,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 176,
      "instruction": 35688883,
      "rd": 3,
      "value": 0
    },
    {
      "pc": 180,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 184,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 188,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 192,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 196,
      "instruction": 35688627,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 200,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 204,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 208,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 212,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 216,
      "instruction": 35688755,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 220,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 224,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 228,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 232,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 236,
      "instruction": 35688499,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 240,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 244,
      "instruction": 4293951635,
      "rd": 1,
      "value": 2147483647
    },
    {
      "pc": 248,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 252,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 256,
      "instruction": 35688883,
      "rd": 3,
      "value": 3221225472
    },
    {
      "pc": 260,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 264,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 268,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 272,
      "instruction": 4293984531,
      "rd": 2,
      "value": 2147483647
    },
    {
      "pc": 276,
      "instruction": 35688627,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 280,
      "instruction": 123457719,
      "rd": 1,
      "value": 123457536
    },
    {
      "pc": 284,
      "instruction": 3511713939,
      "rd": 1,
      "value": 123456789
    },
    {
      "pc": 288,
      "instruction": 987656503,
      "rd": 2,
      "value": 987656192
    },
    {
      "pc": 292,
      "instruction": 2333147411,
      "rd": 2,
      "value": 987654321
    },
    {
      "pc": 296,
      "instruction": 35688755,
      "rd": 2,
      "value": 28389652
    },
    {
      "pc": 300,
      "instruction": 2863313079,
      "rd": 1,
      "value": 2863312896
    },
    {
      "pc": 304,
      "instruction": 2862645395,
      "rd": 1,
      "value": 2863311530
    },
    {
      "pc": 308,
      "instruction": 1431654711,
      "rd": 2,
      "value": 1431654400
    },
    {
      "pc": 312,
      "instruction": 1431372051,
      "rd": 2,
      "value": 1431655765
    },
    {
      "pc": 316,
      "instruction": 35688499,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 320,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 324,
      "instruction": 32915,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 328,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 332,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 336,
      "instruction": 35692979,
      "rd": 3,
      "value": 0
    },
    {
      "pc": 340,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 344,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 348,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 352,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 356,
      "instruction": 35692723,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 360,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 364,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 368,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 372,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 376,
      "instruction": 35692851,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 380,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 384,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 388,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 392,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 396,
      "instruction": 35692595,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 400,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 404,
      "instruction": 4293951635,
      "rd": 1,
      "value": 2147483647
    },
    {
      "pc": 408,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 412,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 416,
      "instruction": 35692979,
      "rd": 3,
      "value": 1073741823
    },
    {
      "pc": 420,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 424,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 428,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 432,
      "instruction": 4293984531,
      "rd": 2,
      "value": 2147483647
    },
    {
      "pc": 436,
      "instruction": 35692723,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 440,
      "instruction": 123457719,
      "rd": 1,
      "value": 123457536
    },
    {
      "pc": 444,
      "instruction": 3511713939,
      "rd": 1,
      "value": 123456789
    },
    {
      "pc": 448,
      "instruction": 987656503,
      "rd": 2,
      "value": 987656192
    },
    {
      "pc": 452,
      "instruction": 2333147411,
      "rd": 2,
      "value": 987654321
    },
    {
      "pc": 456,
      "instruction": 35692851,
      "rd": 2,
      "value": 28389652
    },
    {
      "pc": 460,
      "instruction": 2863313079,
      "rd": 1,
      "value": 2863312896
    },
    {
      "pc": 464,
      "instruction": 2862645395,
      "rd": 1,
      "value": 2863311530
    },
    {
      "pc": 468,
      "instruction": 1431654711,
      "rd": 2,
      "value": 1431654400
    },
    {
      "pc": 472,
      "instruction": 1431372051,
      "rd": 2,
      "value": 1431655765
    },
    {
      "pc": 476,
      "instruction": 35692595,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 480,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 484,
      "instruction": 32915,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 488,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 492,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 496,
      "instruction": 35697075,
      "rd": 3,
      "value": 0
    },
    {
      "pc": 500,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 504,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 508,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 512,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 516,
      "instruction": 35696819,
      "rd": 1,
      "value": 4294967294
    },
    {
      "pc": 520,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 524,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 528,
      "instruction": 311,
      "rd": 2,
      "value": 0
    },
    {
      "pc": 532,
      "instruction": 4293984531,
      "rd": 2,
      "value": 4294967295
    },
    {
      "pc": 536,
      "instruction": 35696947,
      "rd": 2,
      "value": 2147483647
    },
    {
      "pc": 540,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 544,
      "instruction": 32915,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 548,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 552,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 556,
      "instruction": 35696691,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 560,
      "instruction": 2147483831,
      "rd": 1,
      "value": 2147483648
    },
    {
      "pc": 564,
      "instruction": 4293951635,
      "rd": 1,
      "value": 2147483647
    },
    {
      "pc": 568,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 572,
      "instruction": 65811,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 576,
      "instruction": 35697075,
      "rd": 3,
      "value": 1073741823
    },
    {
      "pc": 580,
      "instruction": 183,
      "rd": 1,
      "value": 0
    },
    {
      "pc": 584,
      "instruction": 4293951635,
      "rd": 1,
      "value": 4294967295
    },
    {
      "pc": 588,
      "instruction": 2147483959,
      "rd": 2,
      "value": 2147483648
    },
    {
      "pc": 592,
      "instruction": 4293984531,
      "rd": 2,
      "value": 2147483647
    },
    {
      "pc": 596,
      "instruction": 35696819,
      "rd": 1,
      "value": 2147483646
    },
    {
      "pc": 600,
      "instruction": 123457719,
      "rd": 1,
      "value": 123457536
    },
    {
      "pc": 604,
      "instruction": 3511713939,
      "rd": 1,
      "value": 123456789
    },
    {
      "pc": 608,
      "instruction": 987656503,
      "rd": 2,
      "value": 987656192
    },
    {
      "pc": 612,
      "instruction": 2333147411,
      "rd": 2,
      "value": 987654321
    },
    {
      "pc": 616,
      "instruction": 35696947,
      "rd": 2,
      "value": 28389652
    },
    {
      "pc": 620,
      "instruction": 2863313079,
      "rd": 1,
      "value": 2863312896
    },
    {
      "pc": 624,
      "instruction": 2862645395,
      "rd": 1,
      "value": 2863311530
    },
    {
      "pc": 628,
      "instruction": 1431654711,
      "rd": 2,
      "value": 1431654400
    },
    {
      "pc": 632,
      "instruction": 1431372051,
      "rd": 2,
      "value": 1431655765
    },
    {
      "pc": 636,
      "instruction": 35696691,
      "rd": 0,
      "value": 0
    },
    {
      "pc": 640,
      "instruction": 34636339,
      "rd": 4,
      "value": 3817748708
    },
    {
      "pc": 644,
      "instruction": 33587891,
      "rd": 5,
      "value": 0
    },
    {
      "pc": 648,
      "instruction": 787,
      "rd": 6,
      "value": 0
    }
  ]
}