: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<title>CodeMirror: VHDL mode</title>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="../../addon/edit/matchbrackets.js"></script>
<script src="vhdl.js"></script>
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
<li><a href="../../index.html">Home</a>
<li><a href="../../doc/manual.html">Manual</a>
<li><a href="https://github.com/codemirror/codemirror">Code</a>
<li><a href="../index.html">Language modes</a>
<li><a class=active href="#">VHDL</a>
<div><textarea id="code" name="code">
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ARCHITECTURE behavior OF tb IS
signal a : unsigned(2 downto 0) := (others => '0');
signal b : unsigned(2 downto 0) := (others => '0');
signal a_eq_b : std_logic;
signal a_le_b : std_logic;
signal a_gt_b : std_logic;
-- Instantiate the Unit Under Test (UUT)
uut: entity work.comparator PORT MAP (
a <= to_unsigned(i,3); --integer to unsigned type conversion
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
Syntax highlighting and indentation for the VHDL language.
<h2>Configuration options:</h2>
<li><strong>atoms</strong> - List of atom words. Default: "null"</li>
<li><strong>hooks</strong> - List of meta hooks. Default: ["`", "$"]</li>
<li><strong>multiLineStrings</strong> - Whether multi-line strings are accepted. Default: false</li>
<p><strong>MIME types defined:</strong> <code>text/x-vhdl</code>.</p>