aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ff.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ff.h')
-rw-r--r--kernel/ff.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/kernel/ff.h b/kernel/ff.h
index 3125f67c6..5a629d5dd 100644
--- a/kernel/ff.h
+++ b/kernel/ff.h
@@ -170,8 +170,23 @@ struct FfData {
// Returns a FF identical to this one, but only keeping bit indices from the argument.
FfData slice(const std::vector<int> &bits);
- void unmap_ce();
+ void add_dummy_ce();
+ void add_dummy_srst();
+ void add_dummy_arst();
+ void add_dummy_aload();
+ void add_dummy_sr();
+ void add_dummy_clk();
+
+ void arst_to_aload();
+ void arst_to_sr();
+
+ void aload_to_sr();
+ // Given a FF with both has_ce and has_srst, sets ce_over_srst to the given value and
+ // fixes up control signals appropriately to preserve semantics.
+ void convert_ce_over_srst(bool val);
+
+ void unmap_ce();
void unmap_srst();
void unmap_ce_srst() {