Skip to content

Commit

Permalink
complete part 1 and 2 in PL2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrvvv committed Mar 6, 2024
1 parent 4888bed commit fa9e3d8
Show file tree
Hide file tree
Showing 2 changed files with 584 additions and 2 deletions.
3 changes: 1 addition & 2 deletions P01/PL01.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,6 @@
"C_list.reverse()\n",
"C_inv = int(\"\".join(str(x) for x in C_list), 2)\n",
"\n",
"\n",
"out_reg = []\n",
"shift_buf = 0\n",
"\n",
Expand Down Expand Up @@ -987,7 +986,7 @@
" shift_buf = C[c_i] ^ sh_reg[sh_i]\n",
" out_reg.append(C[c_i] ^ sh_reg[sh_i])\n",
"\n",
"\n",
"# inverting to levels like in WH code\n",
"for i in range(0, len(out_reg)):\n",
" if out_reg[i] == 0:\n",
" out_reg[i] = 1\n",
Expand Down
583 changes: 583 additions & 0 deletions P02/PL02.ipynb

Large diffs are not rendered by default.

0 comments on commit fa9e3d8

Please sign in to comment.