mirror of
https://github.com/MPSU/APS.git
synced 2025-11-20 15:00:39 +00:00
ЛР5. Обновление тб
Повышена вероятность генерации нелегальной компоненты func7 в illegal_instr_random_test
This commit is contained in:
committed by
GitHub
parent
3d535f765b
commit
4348086be1
@@ -299,7 +299,7 @@ module lab_05_tb_decoder();
|
||||
assert(std::randomize(mutation));
|
||||
// we want to broke (invert constraint of) func3 if
|
||||
// 9's bit is 1 while six lower bits are 0
|
||||
if(mutation[9] & !(|mutation[5:0])) begin
|
||||
if(mutation[9] & !(|mutation[3:0])) begin
|
||||
assert(std::randomize(func7 ) with {!(func7 inside {7'h0, 7'h20});});
|
||||
end
|
||||
else begin
|
||||
|
||||
Reference in New Issue
Block a user