aboutsummaryrefslogtreecommitdiffstats
path: root/src/hls/GiblePargen.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/hls/GiblePargen.v')
-rw-r--r--src/hls/GiblePargen.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hls/GiblePargen.v b/src/hls/GiblePargen.v
index 37273b4..0d4badd 100644
--- a/src/hls/GiblePargen.v
+++ b/src/hls/GiblePargen.v
@@ -243,8 +243,9 @@ Definition empty_trees (bb: SeqBB.t) (bbt: ParBB.t) : bool :=
end.
Definition schedule_oracle (bb: SeqBB.t) (bbt: ParBB.t) : bool :=
- check (fst (abstract_sequence (empty, nil) bb))
- (fst (abstract_sequence (empty, nil) (concat (concat bbt)))) &&
+ forallb (fun x => match x with ((_, _, f1), (_, _, f2)) => check f1 f2 end)
+ (combine (snd (abstract_sequence (empty, nil) bb))
+ (snd (abstract_sequence (empty, nil) (concat (concat bbt))))) &&
empty_trees bb bbt.
Definition check_scheduled_trees := beq2 schedule_oracle.