kolibrios/programs/media/log_el/docs
IgorA 49b4b54d25 add new program 'log_el' (modeling logik elements)
git-svn-id: svn://kolibrios.org@2462 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-15 09:43:33 +00:00
..
about.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
mn4bit.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
readme.htm add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_0.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_1.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_cursor.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_eraser.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_open.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_pen_1.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_pen_2.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_run.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00
tb_save.png add new program 'log_el' (modeling logik elements) 2012-03-15 09:43:33 +00:00

<html>
<head>
<title>Îãëàâëåíèå</title>
<meta http-equiv="content-type" content="text/html; charset=WINDOWS-1251">
<style>
body
{
  font-size: 15px;
  font-family: "Bookman Old Style";
  color: black;
  text-align: justify;
}
h1 { color: green; font-size: 23px; }
h2 { color: green; font-size: 21px; }
h3 { color: green; font-size: 19px; }
h4 { color: #803f00; font-size: 17px; }
i { color: #0099cc; }
b { color: #0099cc; }
p {
  text-indent: 1em;
  margin-top: 3px;
  margin-bottom: 2px;
  margin-left: 0px;
  margin-right: 0px;
}
ol, ul, dl{
  margin-top: 3px;
  margin-bottom: 2px;
}
pre
{
  padding: 2px;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0px;
  margin-right: 0px;
  font-family: "Courier New";
  font-size: 15px;
  color: #004000;
  background-color: #ffd0ff;
}
table
{
  font-size: 15px;
}
</style>
</head>

<body>
<h1>Ëîãè÷åñêèå ýëåìåíòû âåðñèÿ îò 15.03.2012</h1>
<p>Îãëàâëåíèå</p>
<ul>
<li>Î ïðîãðàììå</li>
<li><a href="#algor">Ðàáîòà ñ ïðîãðàììîé</a></li>
	<ul>
	<li>Îòêðûòèå ôàéëîâ</li>
	<li>Çàïóñê / Îñòàíîâêà / Óïðàâëåíèå</li>
	<li>Ðåäàêòèðîâàíèå</li>
	<li>Ñîõðàíåíèå</li>
	</ul>
<li><a href="#exampl">Ïðèìåð</a></li>
<li><a href="#v_obj">Âèäû îáúåêòîâ</a></li>
	<ul>
	<li><a href="#obj_poi">Êëþ÷åâàÿ òî÷êà</a></li>
	<li><a href="#obj_spoi">Ïðîâîä áåç ïåðåñå÷åíèÿ</a></li>
	<li><a href="#obj_lel">Ëîã÷åñêèé ýëåìåíò</a></li>
	<li><a href="#obj_capt">Íàäïèñü</a></li>
	</ul>
<li>Àâòîð</li>
</ul>

<h2>Î ïðîãðàììå</h2>
<p>Ïðîãðàììà äëÿ ìîäåëèðîâàíèÿ è ïðîñìîòðà <i>ëîãè÷åñêèõ ñõåì</i>. Ëîãè÷åñêèå ñõåìû ñîñòîÿò èç <i>ëîãè÷åñêèõ ýëåìåíòîâ</i>, è ðàñ÷èòàíû íà ðàáîòó ñ äâóìÿ âèäàìè ñèãíàëîâ 0 è 1.
 Íåêîòîðûå èç ôóíêöèé ïðîãðàììû ïîêà åùå íå ñäåëàíû.
 Ëèöåíçèÿ ñâîáîäíàÿ.</p>
<p><img src="about.png"></p>
<p>Âíåøíèé âèä ïðîãðàììû.</p>

<h2><a name="algor">Ðàáîòà ñ ïðîãðàììîé</a></h2>
<h3>Îòêðûòèå ôàéëîâ</h3>
<p>Ñõåìû õðàíÿòñÿ â òåêñòîâîì âèäå, îòêðûâàòü èõ ìîæíî ÷åðåç êíîïêó <img src="tb_open.png"> ñ ïîìîùüþ äèàëîãîâîãî îêíà.</p>

<h3>Çàïóñê / Îñòàíîâêà / Óïðàâëåíèå</h3>
<p>Ïîñëå îòêðûòèÿ ñõåìû äëÿ ïðîñìîòðà åå ðàáîòû íóæíî íàæàòü êíîïêó çàïóñêà <img src="tb_run.png">. Îñòàíîâêà ìîäåëèðîâàíèÿ äåëàåòñÿ òîé æå ñàìîé êíîïêîé. Ïîñëå çàïóñêà ñõåìà íà÷èíàåò ðàáîòàòü (ìîãóò äâèãàòüñÿ ðàçíûå ñèãíàëû). Äëÿ óïðàâëåíèÿ ðàáîòîé ñõåìû ïðåäóñìîòðåíû îáúåêòû íàäïèñåé. Åñëè íàäïèñü ñîçäàâàëàñü íå êàê èíôîðìàöèîííàÿ òî ïîëüçîâàòåëü ìîæåò âûáðàòü òàêóþ íàäïèñü â ñïèñêå è êíîïêàìè <img src="tb_0.png"> è <img src="tb_1.png"> îïðåäåëÿòü êàêîé èç ñèãíàëîâ ïîäàâàòü (0 èëè 1) íà òî ìåñòî ñõåìû, ãäå íàõîäèòñÿ äàííàÿ íàäïèñü.</p>

<h3>Ðåäàêòèðîâàíèå</h3>
<p>Îïèñàíèå êíîïîê äëÿ ðåäàêòèðîâàíèÿ:</p>
<p><img src="tb_cursor.png"> - ñáðîñ ðåæèìà ðèñîâàíèÿ ïðîâîäîâ</p>
<p><img src="tb_pen_1.png"> - óñòàíîâêà ðåæèìà ðèñîâàíèÿ ïðîâîäîâ</p>
<p><img src="tb_pen_2.png"> - óñòàíîâêà ðåæèìà ðèñîâàíèÿ òî÷åê äëÿ ïðîâîäîâ áåç ïåðåñå÷åíèé</p>
<p><img src="tb_eraser.png"> - óñòàíîâêà ðåæèìà ñòèðàíèÿ ïðîâîäîâ</p>
<p>Ðåäàêòèðîâàíèå ìíîãèõ îáúåêòîâ åùå íå ñäåëàíî :( ... Ïîêà ìîæíî ðåäàêòèðîâàòü ôàéëû ñî ñõåìàìè òåêñòîâûìè ðåäàêòîðàìè, íî ýòî íå óäîáíî. Ïîòîìó ñîçäàíèå íîâûõ ñõåì ñåé÷àñ ïðîáëåìàòè÷íî.</p>

<h3>Ñîõðàíåíèå</h3>
<p>Äëÿ ñîõðàíåíèÿ ñõåìû íàæìèòå íà êíîïêó ñîõðàíåíèÿ <img src="tb_save.png">.</p>

<h2><a name="exampl">Ïðèìåð</a></h2>
<p>Ñõåìà äëÿ ïåðåìíîæåíèÿ 4 áèòíûõ ÷èñåë:</p>
<p><img src="mn4bit.png"></p>
<p>Íà ðèñóíêå ÷èñëî a (a0+a1 = 1+2 = 3) óìíîæàåòñÿ íà b (b1+b3 = 2+8 = 10) è íà âûõîäå ïîëó÷àåòñÿ c (c1+c2+c3+c4 = 2+4+8+16 = 30).</p>

<h2><a name="v_obj">Âèäû îáúåêòîâ</a></h2>
<p>Â ôàéëàõ ñî ñõåìàìè åñòü 4 âèäà îáúåêòîâ.</p>

<h3><a name="obj_poi">Êëþ÷åâàÿ òî÷êà</a></h3>
<p>Êëþ÷åâàÿ òî÷êà ýòî ïðîìåæóòî÷íûé îáúåêò, êîòîðûé ñëóæèò äëÿ ñîçäàíèÿ ïðîâîäîâ. Êëþ÷åâàÿ òî÷êà ñîñòîèò èç 2-õ êîîðäèíàò è ïåðåìåííîé íàïðàâëåíèé. Íàïðàâëåíèé ìîæåò áûòü ìàêñèìóì 4 (<i>ââåðõ</i>, <i>âíèç</i>, <i>âëåâî</i>, <i>âïðàâî</i>). Îíè îïðåäåëÿþò â êàêóþ ñòîðîíó îò äàíîé òî÷êè ðèñîâàòü ïðîâîä. Ïðè âñòðå÷å äðóãîé êëþ÷åâîé òî÷êè èëè äîñòèæåíèè êîíöà ñõåìû ðèñîâàíèå ïðîâîäà ïðåêðàùàåòñÿ. Òàêèì îáðàçîì êëþ÷åâûå òî÷êè ýòî âåêòîðíûå îáúåêòû íà îñíîâå êîòîðûõ ðèñóþòñÿ ïðîâîäà, ÷òî ïîçâîëÿåò óìåíüøèòü ðàçìåð ôàéëà ñî ñõåìîé.</p>

<h3><a name="obj_spoi">Ïðîâîä áåç ïåðåñå÷åíèÿ</a></h3>
<p>Âñå ïðîâîäà êîòîðûå ïåðåñåêàþòñÿ íà ñõåìå ñ÷èòàþòñÿ ñîåäèíåííûìè ìåæäó ñîáîé. Åñëè âîçíèêàåò íåîáõîäèìîñòü ñîçäàòü ïåðåñåêàþùèåñÿ íî íå ñîåäèíåííûå ïðîâîäà èñïîëüçóåòñÿ îáúåêò ïðîâîäà áåç ïåðåñå÷åíèÿ.</p>

<h3><a name="obj_lel">Ëîã÷åñêèé ýëåìåíò</a></h3>
<p>Ëîã÷åñêèå ýëåìåíòû ýòî ñõåìû êîòîðûå èìåþò âõîäû è âûõîäû. Ëîãè÷åñêèé ýëåìåíò àíàëèçèðóåò ñèãíàëû êîòîðûå ïîñòóïàþò åìó íà âõîäû è â çàâèñèìîñòè îò íèõ ôîðìèðóåò ñèãíàëû íà âûõîäàõ. Íà ñõåìå îíè ðèñóþòñÿ ïðÿìîóãîëüíèêàìè ñ âõîäíûìè è âûõîäíûìè íîãàìè. Ëþáóþ ëîãè÷åñêóþ ñõåìó ìîæíî ñîñòàâèòü èç 3-õ îñíîâíûõ ëîãè÷åñêèõ ýëåìåíòîâ: <b>&quot;íå&quot;</b>, <b>&quot;è&quot;</b>, <b>&quot;èëè&quot;</b>. Íèáîëåå ðàñïðîñòðàíåííûå ëîãè÷åñêèå ýëåìåíòû ìîäåëèðóþòñÿ ïðîãðàììîé, ñðåäè íèõ: &quot;íå&quot;, &quot;è&quot;, &quot;èëè&quot;, &quot;èñêëþ÷àþùåå èëè&quot; è &quot;ñóììàòîð&quot;. Êàæäûé âèä ëîãè÷åñêîãî ýëåìåíòà â ïðîãðàììå èìååò ñâîé öâåò (õîòÿ ïî ïðàâèëàì ðèñîâàíèÿ ëîãè÷åñêèõ ñõåì âñå ýëåìåíòû ðèñóþòñÿ ÷åðíî áåëûìè).</p>

<h3><a name="obj_capt">Íàäïèñü</a></h3>
<p>Íàäïèñè áûâàþò 2-õ âèäîâ: <i>èíôîðìàèîííûå</i> è <i>óïðàâëÿåìûå</i>. Èíôîðìàöèîííûå ñëóæàò äëÿ ïîäïèñåé îïðåäåëåííûõ ÷àñòåé ñõåìû. À ÷åðåç óïðàâëÿåìóþ íàäïèñü ìîæíî ïîäàâàòü íà ñõåìó ñèãíàëû 0 èëè 1.</p>

<h2>Àâòîð</h2>
<p>Èãîðü À. (IgorA) - ðàçðàáîòêà ïðîãðàììû.</p>

</body>
</html>