Skip to content

Commit

Permalink
Move typedef outside generate because is not supported by VCS
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuguet committed Jan 10, 2025
1 parent ca45e8e commit 50df5c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/cache_subsystem/cva6_hpdcache_if_adapter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ module cva6_hpdcache_if_adapter

// Internal nets and registers
// {{{
typedef enum {
FLUSH_IDLE,
FLUSH_PEND
} flush_fsm_t;

logic hpdcache_req_is_uncacheable;
hpdcache_req_t hpdcache_req;
Expand Down Expand Up @@ -138,10 +142,6 @@ module cva6_hpdcache_if_adapter
hpdcache_req_t hpdcache_req_store;
hpdcache_req_t hpdcache_req_flush;

typedef enum {
FLUSH_IDLE,
FLUSH_PEND
} flush_fsm_t;
flush_fsm_t flush_fsm_q, flush_fsm_d;

logic forward_store, forward_amo, forward_flush;
Expand Down

0 comments on commit 50df5c9

Please sign in to comment.