From 95a39d342584fc9f98c57550aa7fba9e4652067b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcelina=20Ko=C5=9Bcielnicka?= Date: Sat, 22 May 2021 17:00:20 +0200 Subject: kernel/mem: Add priority_mask to model. This is going to be used to store arbitrary priority masks in the future. Right now, it is not supported by our cell library, so the priority_mask is computed from port order on helper construction, and discarded when emitted. However, this allows us to already convert helper-using passes to the new model. --- kernel/mem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/mem.h') diff --git a/kernel/mem.h b/kernel/mem.h index a2af6a183..af06e970a 100644 --- a/kernel/mem.h +++ b/kernel/mem.h @@ -40,6 +40,7 @@ struct MemWr { dict attributes; Cell *cell; bool clk_enable, clk_polarity; + std::vector priority_mask; SigSpec clk, en, addr, data; MemWr() : removed(false), cell(nullptr) {} }; -- cgit v1.2.3