1. A Reinforcement Learning Approach to Directed Test Generation for Shared Memory Verification
- Author
-
Bruno V. Zimpel, Luiz C. V. dos Santos, Gabriel A. G. Andrade, and Nicolas Pfeifer
- Subjects
010302 applied physics ,Multi-core processor ,Computer science ,Distributed computing ,Genetic programming ,02 engineering and technology ,01 natural sciences ,020202 computer hardware & architecture ,Shared memory ,0103 physical sciences ,0202 electrical engineering, electronic engineering, information engineering ,Reinforcement learning ,State space ,Electronic design automation ,Protocol (object-oriented programming) ,Generator (mathematics) - Abstract
Multicore chips are expected to rely on coherent shared memory. Albeit the coherence hardware can scale gracefully, the protocol state space grows exponentially with core count. That is why design verification requires directed test generation (DTG) for dynamic coverage control under the tight time constraints resulting from slow simulation and short verification budgets. Next generation EDA tools are expected to exploit Machine Learning for reaching high coverage in less time. We propose a technique that addresses DTG as a decision process and tries to find a decision-making policy for maximizing the cumulative coverage, as a result of successive actions taken by an agent. Instead of simply relying on learning, our technique builds upon the legacy from constrained random test generation (RTG). It casts DTG as coverage-driven RTG, and it explores distinct RTG engines subject to progressively tighter constraints. We compared three Reinforcement Learning generators with a state-of-the-art generator based on Genetic Programming. The experimental results show that the proper enforcement of constraints is more efficient for guiding learning towards higher coverage than simply letting the generator learn how to select the most promising memory events for increasing coverage. For a 3-level MESI 32-core design, the proposed approach led to the highest observed coverage (95.81%), and it was 2.4 times faster than the baseline generator to reach the latter’s maximal coverage.
- Published
- 2020
- Full Text
- View/download PDF