我想写一些vhdl检测给定模式的位串。在输入流中发现模式“110”时,电路应该输出1。我的输入是“X”,输出是“Z”。 我不知道如何检查“110”的输入模式。 这是我到目前为止有: library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity checker is
Port (clk : in STD_LOGIC;
x : in S
public abstract class State<T>
{
public virtual Enter(T item)
{
// an empty method
}
}
public class ChaseState : State<FieldPlayer>
{
public override Enter(Player pl)