D | sv_addr_ag.h | 29 #define IO_MASK_(reg_, field_) \ argument 30 ( ( ( 1 << reg_##_##field_##_WIDTH ) - 1 ) << reg_##_##field_##_BITNR ) 35 #define IO_STATE_(reg_, field_, _state) \ argument 36 ( reg_##_##field_##_state << reg_##_##field_##_BITNR ) 41 #define IO_EXTRACT_(reg_, field_, val) ( (( ( ( 1 << reg_##_##field_##_WIDTH ) \ argument 42 - 1 ) << reg_##_##field_##_BITNR ) & (val)) >> reg_##_##field_##_BITNR ) 48 #define IO_STATE_VALUE_(reg_, field_, _state) ( reg_##_##field_##_state ) argument 53 #define IO_FIELD_(reg_, field_, val) ((val) << reg_##_##field_##_BITNR) argument 58 #define IO_BITNR_(reg_, field_) (reg_##_##field_##_BITNR) argument 62 #define IO_WIDTH_(reg_, field_) (reg_##_##field_##_WIDTH) argument
|