aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/formal/gates/test_pmux.vhd
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2020-05-14 16:08:18 +0200
committertgingold <tgingold@users.noreply.github.com>2020-05-14 18:54:32 +0200
commit9984dc1a03316c21b4710b84a32b9fdb8aae1e05 (patch)
treece2e16055135922487b66b40254ac5f5f7af2c91 /testsuite/formal/gates/test_pmux.vhd
parent2f7e216f11a3b6f0422e10dfdeb673dd4c9ecd36 (diff)
downloadghdl-yosys-plugin-9984dc1a03316c21b4710b84a32b9fdb8aae1e05.tar.gz
ghdl-yosys-plugin-9984dc1a03316c21b4710b84a32b9fdb8aae1e05.tar.bz2
ghdl-yosys-plugin-9984dc1a03316c21b4710b84a32b9fdb8aae1e05.zip
Fix ordering of $pmux ports
For Id_Pmux, IN(2+n) corresponds to s(n). For $pmux, B[n*WIDTH-1:(n-1)*WIDTH] corresponds to S[n]. Therefore, the inputs need to be appended in ascending order, such that IN(2) is assigned to B[WIDTH-1:0], IN(3) to B[2*WIDTH-1:WIDTH], etc.
Diffstat (limited to 'testsuite/formal/gates/test_pmux.vhd')
0 files changed, 0 insertions, 0 deletions