{"id":333593,"date":"2022-05-25T09:00:07","date_gmt":"2022-05-25T09:00:07","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=333593"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=333593","title":{"rendered":"<span>\u042d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 CD-Rom \u0434\u043b\u044f SonyPlaystation \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043f\u0438\u0441\u0430\u043b \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u0441\u044f\u0442\u0438 \u043b\u0435\u0442. \u0427\u0430\u0441\u0442\u044c 4<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habrastorage.org\/webt\/oj\/pi\/3q\/ojpi3qjn5nxehnhme5ymqdz6ure.jpeg\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ax\/py\/wg\/axpywgsot5bpmjpwoqrjnqrambk.jpeg\" align=\"right\" data-src=\"https:\/\/habrastorage.org\/webt\/ax\/py\/wg\/axpywgsot5bpmjpwoqrjnqrambk.jpeg\" data-blurred=\"true\"\/><\/a>\u042f \u043d\u0430\u0434\u0435\u044f\u043b\u0441\u044f, \u0434\u0430 \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443\u043b\u043e\u0436\u0443\u0441\u044c \u0432 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0430\u044f. \u0412 <a href=\"https:\/\/habr.com\/ru\/post\/666296\/\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u044f TOC. \u0418 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0433\u043b\u044e\u0447\u043d\u043e\u0433\u043e, \u043d\u043e \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0433\u0440. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0436\u0435 \u0442\u0430\u043a\u043e\u0435 SENS, \u0438 \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0435\u0442\u043a\u043e\u0439. \u041d\u0430\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 SENS. \u0418 \u0440\u0435\u0448\u0438\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435, \u043d\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u043c\u0435\u043b\u043e\u0447\u0438. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0432\u0441\u0451 \u0435\u0449\u0451 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0435\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u0441\u044b\u043b\u043a\u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\"><a href=\"https:\/\/habr.com\/ru\/post\/653507\/\">\u0427\u0430\u0441\u0442\u044c 1<\/a><br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/665660\/\">\u0427\u0430\u0441\u0442\u044c 2<\/a><br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/666296\/\">\u0427\u0430\u0441\u0442\u044c 3<\/a><\/div>\n<\/p><\/div>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>9.5 \u042d\u043c\u0443\u043b\u044f\u0446\u0438\u044f SENS<\/h4>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e SENS \u044d\u0442\u043e \u0432\u044b\u0445\u043e\u0434 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0435\u043a\u0441\u043e\u0440\u0430. \u041f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u043e. \u0425\u043e\u0442\u044f \u044f \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u043f\u043e\u0431\u043e\u0440\u043e\u0442\u044c \u0436\u0435\u043b\u0430\u043d\u0438\u0435 \u0432\u0441\u0451 \u044d\u0442\u043e \u0437\u0430\u043f\u0438\u0445\u043d\u0443\u0442\u044c \u0432 \u043c\u043e\u0434\u0443\u043b\u044c CXD2545_CPU \u0443\u0436 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0431\u044b\u043b\u0438. \u041d\u043e \u043f\u043e\u0442\u043e\u043c \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u0434\u0432\u0430 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0445\u043e\u0442\u044c \u0438 \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u044f, \u0447\u0435\u043c \u043e\u0434\u0438\u043d \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0439.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f SENS<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">module CXD2545_SENS( input sclk,  input clk, input data, input xlat,  input [15:0] sens_data,  output reg sens );  reg [3:0] cnt; reg [7:0] shift_reg; reg [3:0] select_reg;  reg prev_clk; reg prev_xlat;  always @(posedge sclk) begin  if((prev_xlat == 1'b1) &amp;&amp; (xlat == 1'b0)) begin cnt &lt;= 0; shift_reg[7:0] &lt;= 0; end else begin if((prev_clk == 1'b0) &amp;&amp; (clk == 1'b1)) begin shift_reg[7:0] &lt;= {data, shift_reg[7:1]}; if(cnt &lt; 7) begin cnt &lt;= cnt + 1'b1; end else begin select_reg &lt;= {data, shift_reg[7:5]}; cnt &lt;= 0; end end  end  prev_xlat &lt;= xlat; prev_clk &lt;= clk; sens &lt;= sens_data[select_reg];  end  endmodule<\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u0442\u0443\u0442 \u043d\u0435\u0442, \u0432\u0441\u0451 \u044d\u0442\u043e \u044f \u0443\u0436\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b \u0438 \u0440\u0430\u043d\u044c\u0448\u0435. \u0422\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439:  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>sclk<\/td>\n<td>\u0412\u044b\u0445\u043e\u0434 \u0442\u0430\u043a\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430<\/td>\n<\/tr>\n<tr>\n<td>clk<\/td>\n<td>\u0412\u0445\u043e\u0434 CLOK \u043e\u0442 CXD2545<\/td>\n<\/tr>\n<tr>\n<td>data<\/td>\n<td>\u0412\u0445\u043e\u0434 DATA \u043e\u0442 CXD2545<\/td>\n<\/tr>\n<tr>\n<td>xlat<\/td>\n<td>\u0412\u0445\u043e\u0434 XLAT \u043e\u0442 CXD2545<\/td>\n<\/tr>\n<tr>\n<td>sens_data<\/td>\n<td>\u0412\u0445\u043e\u0434 16 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432<\/td>\n<\/tr>\n<tr>\n<td>sens<\/td>\n<td>\u0412\u044b\u0445\u043e\u0434 \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u043c\u043e\u0433\u043e SENS<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  \u041c\u043e\u0434\u0443\u043b\u044c \u043d\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e \u0432\u043e\u0441\u0435\u043c\u044c \u0431\u0438\u0442, \u0438 \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442\u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434 sens \u043e\u0434\u0438\u043d \u0438\u0437 \u0431\u0438\u0442\u043e\u0432 sens_data. \u041f\u0440\u0438\u0447\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0442\u0430\u043a\u0442.<br \/>  \u0427\u0442\u043e\u0431\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u043c \u044d\u0442\u0438\u0445 \u043f\u0438\u043d\u043e\u0432 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043c\u043e\u0434\u0443\u043b\u044c PIO, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438 \u0431\u044b\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043f\u0438\u043d\u044b SENS, \u043a\u0440\u043e\u043c\u0435 COUT:  <\/p>\n<pre><code class=\"plaintext\">CXD2545_SENS sens_inst( .sclk(CPU_CLK), .clk(REG_CLK), .data(REG_DATA), .xlat(REG_XLAT), .sens_data({SENS_PIN[15:13], trc_toggle, SENS_PIN[11:0]}), .sens(sens_out) ); <\/code><\/pre>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0432\u0441\u0451 \u044d\u0442\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0443\u0441\u043b\u043e\u0436\u043d\u0435\u043d\u043e \u0438 \u0435\u0441\u0442\u044c \u043a\u0443\u0434\u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043d\u043e \u043c\u0435\u043d\u044f \u043f\u0443\u0433\u0430\u043b\u0438 \u0432\u0441\u044f\u043a\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 \u0442\u0438\u043f\u0430 \u043c\u0435\u0442\u0430\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u0434\u0438\u0437\u0430\u0439\u043d.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0411\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">module CXD2545_SENS(  input clk, input data, input xlat,  input [15:0] sens_data,  output wire sens );  reg [3:0] cnt; reg [7:0] shift_reg; reg [3:0] select_reg;  always @(posedge clk or negedge xlat) begin if(xlat == 1'b0) begin cnt &lt;= 0; shift_reg[7:0] &lt;= 0; end else begin shift_reg[7:0] &lt;= {data, shift_reg[7:1]}; if(cnt &lt; 7) begin cnt &lt;= cnt + 1'b1; end else begin select_reg &lt;= {data, shift_reg[7:5]}; cnt &lt;= 0; end end end  assign sens = sens_data[select_reg];  endmodule <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<h4>9.5 \u042d\u043c\u0443\u043b\u044f\u0446\u0438\u044f COUT<\/h4>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0432 \u0441\u043d\u044f\u0442\u044b\u0435 \u043b\u043e\u0433\u0438, \u044f \u0443\u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u043d\u0430 COUT \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u00ab\u0434\u0430\u043b\u044c\u043d\u0435\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u00bb \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u0430\u0440\u0435\u0442\u043a\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0413\u043d\u0430\u0442\u044c \u0442\u0443\u0434\u0430 \u043c\u0435\u0430\u043d\u0434\u0440 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e, \u043d\u043e \u043d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u0443\u0433\u0430\u0434\u0430\u0442\u044c \u0441 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439. \u041c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 COUT \u0431\u044b\u043b \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0434\u0432\u0435 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u044d\u0442\u043e \u0433\u0434\u0435-\u0442\u043e 250 \u0433\u0435\u0440\u0446 \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c, \u0447\u0442\u043e \u0443\u0441\u043f\u0435\u0435\u0442 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0432 \u0442\u0430\u043a\u043e\u043c \u0442\u0435\u043c\u043f\u0435. \u041d\u043e \u044d\u0442\u043e \u043f\u0440\u044f\u043c \u043e\u043e\u0447\u0435\u043d\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0435\u0433\u043e, \u0438 \u043f\u043e-\u0445\u043e\u0440\u043e\u0448\u0435\u043c\u0443 \u043d\u0430\u0432\u0435\u0440\u043d\u043e \u0438\u043c\u0435\u043b\u043e \u0441\u043c\u044b\u0441\u043b \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u0435\u0433\u043e \u043d\u0430 \u0448\u0438\u043d\u0443 AvalonMM \u043d\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c. \u0412 \u0438\u0442\u043e\u0433\u0435 \u0440\u043e\u0434\u0438\u043b\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u043c\u043e\u0434\u0443\u043b\u044c:<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">CXD2545_TRACK_COUNTER<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">module CXD2545_TRACK_COUNTER( input clk, input [15:0] div, input [15:0] toggle_cnt, input trigger,  output reg toggle_clk, output reg [31:0] track_count );  reg [32:0] cnt_50; reg [32:0] cnt_div_50; reg prev_trigger; reg [30:0] trc_cnt;   reg trk_clk;  always @(posedge clk) begin if(cnt_50 &lt; div) begin cnt_50 &lt;= cnt_50 + 1'b1; end else begin cnt_50 &lt;= 0; trk_clk &lt;= ~trk_clk;  if(cnt_div_50 &lt; 256) begin cnt_div_50 &lt;= cnt_div_50 + 1'b1; end else begin cnt_div_50 &lt;= 0; toggle_clk &lt;= ~toggle_clk; end  if((prev_trigger == 1'b1) &amp;&amp; (trigger == 1'b0)) begin track_count &lt;= {1'b1, trc_cnt}; end else if((prev_trigger == 1'b0) &amp;&amp; (trigger == 1'b1)) begin trc_cnt &lt;= 0; track_count &lt;= 0; end else begin trc_cnt &lt;= trc_cnt + 1'b1; end   prev_trigger &lt;= trigger; end end endmodule <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<div class=\"scrollable-table\">\n<table>\n<tr>\n<td>\u0418\u043c\u044f<\/td>\n<td>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/td>\n<\/tr>\n<tr>\n<td>clk<\/td>\n<td>\u0412\u044b\u0445\u043e\u0434 \u0442\u0430\u043a\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430<\/td>\n<\/tr>\n<tr>\n<td>div<\/td>\n<td>\u041f\u0440\u0435\u0434\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u044b<\/td>\n<\/tr>\n<tr>\n<td>toggle_cnt<\/td>\n<td>\u0414\u0435\u043b\u0438\u0442\u0435\u043b\u044c \u0447\u0430\u0441\u0442\u043e\u0442\u044b, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043e\u0442 \u043f\u0440\u0435\u0434\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f<\/td>\n<\/tr>\n<tr>\n<td>trigger<\/td>\n<td>\u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0447\u0435\u0442\u0447\u0438\u043a\u0430 \u0432\u044b\u0434\u0430\u043d\u044b\u0445 \u0438\u043c\u043f\u0443\u043b\u044c\u0441\u043e\u0432<\/td>\n<\/tr>\n<tr>\n<td>toggle_clk<\/td>\n<td>\u0412\u044b\u0445\u043e\u0434 COUT<\/td>\n<\/tr>\n<tr>\n<td>track_count<\/td>\n<td>\u0427\u0438\u0441\u043b\u043e \u0442\u0440\u0435\u043a\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043d\u0430\u0441\u0447\u0438\u0442\u0430\u043b\u0438 \u043c\u0435\u0436\u0434\u0443 \u0441\u0438\u0433\u043d\u0430\u043b\u0430\u043c\u0438 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>  \u041a\u0430\u043a \u043e\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0430 \u0432\u0445\u043e\u0434 \u043f\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 (\u0443 \u043c\u0435\u043d\u044f \u044d\u0442\u043e 50 \u043c\u0435\u0433\u0430\u0433\u0435\u0440\u0446), \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430 div \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0442\u043e\u0440\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443. \u042d\u0442\u043e \u043a\u0430\u043a \u0431\u044b \u0442\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u043f\u0440\u043e\u043b\u0435\u0442\u0430\u0435\u043c \u0442\u0440\u0435\u043a\u0438. \u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 toggle_cnt \u043c\u044b \u0435\u0449\u0451 \u0440\u0430\u0437 \u0434\u0435\u043b\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u043e\u0442\u0443, \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0438\u0433\u043d\u0430\u043b toggle_clk \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438 \u0438\u0434\u0451\u0442 \u0443\u0436\u0435 \u0432 \u043c\u043e\u0434\u0443\u043b\u044c SENS. \u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u043c \u0441\u0430\u043c\u0438\u043c \u0432 \u043a\u043e\u0434\u0435 \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0435\u043a\u043e\u0432 \u043c\u044b \u043d\u0430\u0441\u0447\u0438\u0442\u0430\u043b\u0438, \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0441\u0438\u0433\u043d\u0430\u043b trigger. \u0418 \u0435\u0441\u043b\u0438 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0438\u0437 \u043d\u0438\u0437\u043a\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0432 \u0432\u044b\u0441\u043e\u043a\u043e\u0435, \u043c\u044b \u043e\u0431\u043d\u0443\u043b\u044f\u0435\u043c \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0442\u0440\u0435\u043a\u043e\u0432, \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0438\u0445 \u0441\u0447\u0438\u0442\u0430\u0442\u044c. \u0410 \u0435\u0441\u043b\u0438 \u0431\u044b\u043b, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0438\u0437 \u0432\u044b\u0441\u043e\u043a\u043e\u0433\u043e \u0432 \u043d\u0438\u0437\u043a\u0438\u0439 \u043c\u044b \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u0442\u0440\u0435\u043a\u0438 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 track_count. \u041f\u0440\u0438\u0447\u0435\u043c \u0441\u0430\u043c \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0442\u0440\u0435\u043a\u043e\u0432 \u0443 \u043d\u0430\u0441 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0432 31 \u0431\u0438\u0442, \u0430 32\u043e\u0439 \u0431\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0444\u043b\u0430\u0433 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0432\u0435\u0440\u043d\u044b\u0435. \u0417\u0430\u0447\u0435\u043c \u0442\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u043d\u043e? \u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u0435\u043d\u044c \u0432\u0435\u0448\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043c\u043e\u0434\u0443\u043b\u044c \u043d\u0430 \u0448\u0438\u043d\u0443 AvalonMM \u0438 \u044f \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0443 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0438 PIO. \u0410 \u0442\u0430\u043a \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u043c\u043e\u0434\u0443\u043b\u044c, \u0447\u0442\u043e-\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0430 \u0447\u0430\u0441\u0442\u043e\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0435\u0434\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0430 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430 \u043e\u043d \u0435\u0449\u0451 \u043c\u043e\u0436\u0435\u0442 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c track_count. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u043e\u0434\u0435 \u044f \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u044e 32 \u0431\u0438\u0442, \u0438 \u0443\u0436\u0435 \u0442\u0430\u043c \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043c\u043e\u0434\u0443\u043b\u044c \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"plaintext\">CXD2545_TRACK_COUNTER trc_cnt_inst( .clk(CPU_CLK), .div(trc_div), .toggle_cnt(256), .toggle_clk(trc_toggle),  .trigger(trc_cnt_en), .track_count(track_count) ); <\/code><\/pre>\n<p>  \u0418 \u0432\u043e\u0442 \u0442\u0430\u043c \u0433\u0434\u0435 \u0441\u0442\u043e\u0438\u0442 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0430 256, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u0432\u0435\u0441\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 0xB, \u043d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u043e\u0439 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0432 256, \u044f \u0440\u0435\u0448\u0438\u043b, \u0447\u0442\u043e \u0438 \u0442\u0430\u043a \u0441\u043e\u0439\u0434\u0451\u0442. \u041f\u043e\u0441\u043b\u0435 \u0441\u0432\u044f\u0437\u043a\u0438 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u0432\u043e\u0435\u0434\u0438\u043d\u043e, \u0438 \u0442\u0435\u0441\u0442\u0430 \u0432 \u0430\u0443\u0434\u0438\u043e \u043f\u043b\u0435\u0435\u0440\u0435. \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044c 720 \u0438 \u0432\u044b\u0448\u0435. \u0418\u0433\u0440\u044b \u0442\u043e\u0436\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c. \u0418 \u044f \u043d\u0430\u0447\u0430\u043b \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c FF7, \u043d\u0435\u0441\u043f\u0435\u0448\u043d\u043e \u0440\u0435\u0448\u0430\u044f, \u0432\u0441\u044f\u043a\u0438\u0435 \u043c\u0435\u043b\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0430 \u043b\u0435\u0434\u044f\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0434\u0451\u0442 \u043f\u043e\u0441\u043b\u0435 \u0441\u043d\u043e\u0443\u0431\u043e\u0440\u0434\u0430(\u0442\u0430\u043c \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0440\u0437\u043d\u0443\u0442\u044c), \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0435 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u043d\u043e\u0441\u0438\u0442\u044c \u043a\u0440\u044b\u0448\u0443. \u041e\u043d\u0430 \u043c\u0435\u0442\u0430\u043b\u0430\u0441\u044c \u043b\u0430\u0437\u0435\u0440\u043e\u043c \u0442\u0443\u0434\u0430 \u0441\u044e\u0434\u0430, \u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430. \u0413\u043b\u044e\u043a \u0431\u044b\u043b \u043f\u043b\u0430\u0432\u0430\u044e\u0449\u0438\u0439, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u0438\u044e \u043d\u0435 \u043f\u043e\u0434\u0434\u0430\u0432\u0430\u043b\u0441\u044f. \u0412 \u0438\u0442\u043e\u0433\u0435 \u044f \u0432\u044b\u0432\u0435\u043b \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0443 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f, \u0438 \u043f\u043e\u0431\u0430\u043b\u043e\u0432\u0430\u0432\u0448\u0438\u0441\u044c \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043b \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 1400 \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u0431\u044b\u0441\u0442\u0440\u043e\u0435, \u0438 \u0433\u043b\u044e\u043a\u043e\u0432 \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u043b\u043e. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440. \u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/gg\/5t\/ou\/gg5toup1xz1n-dw43ugxzlmirk4.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/gg\/5t\/ou\/gg5toup1xz1n-dw43ugxzlmirk4.jpeg\" data-blurred=\"true\"\/><\/p>\n<p>  \u041d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c. \u041e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0435\u0449\u0451 \u0432\u0441\u044f\u043a\u0438\u0435 \u043c\u0435\u043b\u043e\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u043d\u043e \u0445\u0440\u043e\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0438\u0445 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u044f \u043d\u0435 \u043f\u043e\u043c\u043d\u044e.<\/p>\n<h3>10. \u0412\u0441\u044f\u043a\u0438\u0435 \u043c\u0435\u043b\u043e\u0447\u0438<\/h3>\n<h4>10.1 A SGDMA, \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443<\/h4>\n<p>  \u0414\u0430 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 SGDMA \u0431\u044f\u043a\u0430. \u0415\u0441\u043b\u0438 \u043d\u0430\u0447\u0430\u043b\u0430\u0441\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430, \u0442\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0435\u0451 \u0443\u0436\u0435 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u043e\u043d \u0441 \u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0443\u0445\u043e\u0434\u0438\u0442 \u0432 \u0440\u0430\u0431\u043e\u0442\u0443 \u0438 \u0441\u043b\u044b\u0448\u0430\u0442\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442. \u0415\u0441\u0442\u044c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u043c\u0443 \u0440\u0435\u0441\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0433\u0438\u0441\u0442\u0440, \u043d\u043e \u0432\u043e\u0442, \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f:  <\/p>\n<blockquote><p>Executing a software reset when a DMA transfer is active may result in permanent bus lockup until the next system reset. Hence, Altera recommends that you use the software reset as<br \/>  your last resort.<\/p><\/blockquote>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u044e \u0448\u0438\u043d\u0443 \u0437\u0430\u0432\u0435\u0441\u0438\u0442\u044c, \u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u0440\u0435\u0441\u0435\u0442, \u0432\u0441\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u041a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b \u0447\u0442\u043e \u043f\u043b\u043e\u0445\u043e\u0433\u043e. \u0410 \u0432\u043e\u0442 \u0447\u0442\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u043e\u0442\u0434\u0430\u043b\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0435\u043a\u043e\u0432 \u0432\u043f\u0435\u0440\u0435\u0434. \u0410 \u0443 \u043d\u0430\u0441 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0443\u0441\u043f\u0435\u0432\u0430\u044e\u0442 \u043f\u0440\u0438\u043b\u0435\u0442\u0435\u0442\u044c \u0441\u0443\u0431\u043a\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u043e\u0441\u043b\u0430\u043d\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u043a\u0430. \u041e\u043d\u0430 \u044d\u0442\u043e \u0432\u0438\u0434\u0438\u0442 \u0438 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442, \u0447\u0442\u043e \u0441\u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043d\u0435 \u0442\u0443\u0434\u0430. \u0418 \u0434\u0430\u0435\u0442 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0435\u0448\u0451 \u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c, \u0442\u0443\u0442 \u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0440\u0435\u043a, \u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0436\u0435 \u0443\u043b\u0435\u0442\u0435\u043b\u0430, \u0438 \u043c\u044b, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0432 \u0435\u0435, \u0441\u043d\u043e\u0432\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u043d\u0435 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u0434\u043e. \u0412 \u043e\u0431\u0449\u0435\u043c, \u0442\u0430\u043a\u043e\u0435 \u0431\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0434\u043a\u043e, \u043d\u043e \u043c\u043e\u0433\u043b\u043e \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0447\u0442\u0435\u043d\u0438\u044f \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0442\u0440\u0435\u043a\u0430. \u0427\u0430\u0449\u0435 \u043e\u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043b\u0438\u0448\u043d\u0438\u0439 \u0440\u0430\u0437 \u0448\u043b\u0435\u0442 \u0441\u0438\u0433\u043d\u0430\u043b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u0440\u0438\u0432\u043e\u0434\u0430 \u0438 \u0432\u0441\u0451. \u0427\u0442\u043e\u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u0443 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0443\u044e \u043d\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043c\u043e\u0434\u0443\u043b\u044c:<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">avalon_st_drainer<\/b>                         <\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\">module avalon_st_drainer ( input  wire        clk,       \/\/       clock.clk input  wire        reset,     \/\/  reset_sink.reset_n  output wire        out_valid, \/\/         out.valid output wire        out_sof,   \/\/            .startofpacket output wire        out_eof,   \/\/            .endofpacket output wire [31:0] out_data,  \/\/            .data output wire [1:0]  out_empty, \/\/            .empty input  wire        out_ready, \/\/            .ready  input  wire        in_valid,  \/\/          in.valid input  wire        in_sof,    \/\/            .startofpacket input  wire        in_eof,    \/\/            .endofpacket input  wire [31:0] in_data,   \/\/            .data input  wire [1:0]  in_empty,  \/\/            .empty output wire        in_ready,  \/\/            .ready input  wire        drain      \/\/ conduit_end.export );   assign out_eof= ((drain == 1'b0) &amp;&amp; (lock_drain == 1'b0)) ? in_eof  : 1'b0; assign out_valid= ((drain == 1'b0) &amp;&amp; (lock_drain == 1'b0)) ? in_valid : 1'b0; assign in_ready= ((drain == 1'b0) || (in_sof == 1'b1)) ? out_ready: 1'b1; assign out_sof = in_sof; assign out_empty= in_empty; assign out_data = in_data;   reg lock_drain; always @(negedge clk) begin if(drain == 1'b1) begin  lock_drain &lt;= 1'b1; end else begin if(in_sof == 1'b1) begin lock_drain &lt;= 1'b0; end end end  endmodule <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0441\u0442\u0430\u044f, \u043c\u043e\u0434\u0443\u043b\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u0441\u0438\u0433\u043d\u0430\u043b\u044b \u0448\u0438\u043d Avalon-ST \u0432\u044b\u0445\u043e\u0434\u0430 \u0438 \u0432\u044b\u0445\u043e\u0434\u0430. \u0412 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u0448\u043b\u0451\u0442 \u0432\u0445\u043e\u0434 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434. \u0415\u0441\u043b\u0438 \u043f\u0440\u0438\u0448\u0451\u043b \u0441\u0438\u0433\u043d\u0430\u043b drain \u043c\u043e\u0434\u0443\u043b\u044c \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0444\u043b\u0430\u0433 lock_drain. \u0418 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0441\u0438\u0433\u043d\u0430\u043b\u0430 out_valid \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0434\u0443\u043b\u0438, \u0441\u0442\u043e\u044f\u0449\u0438\u0435 \u0437\u0430 \u043d\u0438\u043c, \u0434\u0443\u043c\u0430\u043b\u0438 \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435\u0442. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0441\u0438\u0433\u043d\u0430\u043b in_ready \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u0440\u0430\u043f\u043e\u0440\u0442\u0443\u0435\u0442, \u0447\u0442\u043e \u0433\u043e\u0442\u043e\u0432 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u0432 \u0438\u0442\u043e\u0433\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f, \u043d\u043e \u043d\u0435 \u0443\u0445\u043e\u0434\u044f\u0442. \u041f\u0440\u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0438 \u0441\u0438\u0433\u043d\u0430\u043b\u0430 in_sof, lock_drain \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u043e\u043b\u044c \u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043f\u043e\u0441\u044b\u043b\u0430\u044f \u043a\u043e\u043f\u0438\u044e \u0432\u0445\u043e\u0434\u0430 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434. \u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0441\u0451 \u044d\u0442\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 PIO.<br \/>  \u0424\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f SOPC \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<br \/>  <a href=\"https:\/\/habrastorage.org\/webt\/_7\/wf\/fn\/_7wffncwun9fhijtcsv5hcjovvu.jpeg\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/_7\/wf\/fn\/_7wffncwun9fhijtcsv5hcjovvu.jpeg\" data-src=\"https:\/\/habrastorage.org\/webt\/_7\/wf\/fn\/_7wffncwun9fhijtcsv5hcjovvu.jpeg\" data-blurred=\"true\"\/><br \/>  <\/a><\/p>\n<h4>10.2 \u041f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0445\u0443\u0436\u0435 \u0447\u0435\u043c \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0435<\/h4>\n<p>  \u041f\u043e \u0444\u0430\u043a\u0442\u0443 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u043c\u0430\u0445\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0440\u0438 \u0434\u043b\u0438\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430\u0445, \u0447\u0435\u043c \u043c\u043e\u0439 \u043a\u043e\u0434. \u041f\u043e\u0447\u0435\u043c\u0443 \u0442\u0430\u043a \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u044f \u0443\u0436\u0435 \u0437\u043d\u0430\u043b. \u0414\u0438\u0441\u043a \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0446\u0435\u043d\u0442\u0440\u0430 \u043a \u043a\u0440\u0430\u044e, \u0438 \u0434\u043b\u0438\u043d\u043d\u0430 \u043e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u0442\u0435\u0442. \u0414\u0430\u043d\u043d\u044b\u0435 \u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0441 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u043e\u043c. \u0418 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0432 \u043a\u043e\u043d\u0446\u0435 \u0434\u0438\u0441\u043a\u0430 \u043d\u0430 \u043e\u0434\u0438\u043d \u043e\u0431\u043e\u0440\u043e\u0442 \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432, \u0447\u0435\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u0435. \u041f\u0440\u0438\u0432\u043e\u0434, \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0443\u044f\u0441\u044c \u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445, \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u0443\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u0434\u0438\u0441\u043a\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u0440\u0438\u0432\u043e\u0434\u0430, \u0438\u0434\u0443\u0442 \u043f\u043e\u0442\u043e\u043a\u043e\u043c \u0440\u0430\u0432\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u043c. \u041d\u043e \u0432\u043e\u0442 \u043f\u0440\u044b\u0436\u043e\u043a \u043d\u0430 \u043e\u0434\u0438\u043d \u0442\u0440\u0435\u043a, \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0434\u0438\u0441\u043a\u0430 \u0438 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0434\u0430\u044e\u0442 \u0440\u0430\u0437\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \u042f \u0433\u0434\u0435 \u0442\u043e \u0447\u0438\u0442\u0430\u043b(\u0433\u0434\u0435 \u0443\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u043d\u044e), \u0447\u0442\u043e SUP-CPU \u0438\u043c\u0435\u0435\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043a\u043e\u0440\u0440\u0435\u043a\u0446\u0438\u0438 \u0438 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043d\u0435\u0451 \u043e\u043d \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0440\u0435\u043a\u043e\u0432 \u043f\u0440\u044b\u0433\u043d\u0443\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u042f \u0434\u0430\u0436\u0435 \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0435\u0451 \u043d\u0430\u0439\u0442\u0438 \u0432 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0435, \u043d\u043e \u043d\u0430\u0434\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u0431\u0435\u0437\u0443\u0441\u043f\u0435\u0448\u043d\u043e. \u0422\u043e\u0433\u0434\u0430 \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u0438\u0441\u044c\u043c\u043e Martin&#8217;\u0443 Korth \u0442\u0430\u043a\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u043c\u0443, \u043a\u0430\u043a Nocash \u0441 \u043f\u0440\u043e\u0441\u044c\u0431\u043e\u0439 \u043f\u043e\u043c\u043e\u0447\u044c \u0432 \u044d\u0442\u043e\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u0435. \u041e\u043d \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u043b, \u0437\u0430, \u0447\u0442\u043e \u0435\u043c\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e. \u0418 \u043f\u0440\u0438\u0441\u043b\u0430\u043b \u043d\u0443\u0436\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0441 \u043a\u0443\u0441\u043a\u0430\u043c\u0438 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0438 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u043a \u043e\u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0431\u044b\u043b\u0430 \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u043d\u0435\u0439 \u043e\u043a\u043e\u043b\u043e 80 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432(\u0432\u043e\u043e\u0431\u0449\u0435 \u0442\u0430\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0430\u0431\u043b\u0438\u0446 \u0434\u043b\u044f \u0434\u0438\u0441\u043a\u043e\u0432 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c \u043e\u0431\u044a\u0435\u043c\u043e\u043c \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u043e \u0438\u0437 \u0437\u0430 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0432\u044b\u0435 71 \u044d\u043b\u0435\u043c\u0435\u043d\u0442). \u0418 \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0436\u0434\u0430\u044f \u043c\u0438\u043d\u0443\u0442\u0430 \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u044f(\u043d\u0443 \u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0443) \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0442\u0440\u0435\u043a\u043e\u0432. \u0422\u043e \u0435\u0441\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043d\u043e\u043c\u0435\u0440 4 \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b 0xDD, \u0437\u043d\u0430\u0447\u0438\u0442 3 \u043c\u0438\u043d\u0443\u0442\u0430 \u0437\u0432\u0443\u0447\u0430\u043d\u0438\u044f, \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 221 \u0442\u0440\u0435\u043a. \u0410 57 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 0x6D, \u0442\u043e \u0435\u0441\u0442\u044c 58 \u043c\u0438\u043d\u0443\u0442\u0430 \u0434\u0438\u0441\u043a\u0430 \u0443\u0436\u0435 \u0432\u0441\u0435\u0433\u043e 109 \u0442\u0440\u0435\u043a\u043e\u0432. \u041f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e \u044d\u0442\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043a\u0430\u043a \u0434\u0430\u043b\u0435\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0440\u0435\u0442\u043a\u0443. \u042f \u0432\u0438\u0434\u043e\u0438\u0437\u043c\u0435\u043d\u0438\u043b \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0441 \u043d\u0435\u0439 \u0443\u0434\u043e\u0431\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0418 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0432 \u0441\u0432\u043e\u0439 \u043a\u043e\u0434, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u043b\u043e \u0432 \u0440\u0430\u0437\u044b \u043b\u0443\u0447\u0448\u0435.<\/p>\n<h4>10.3 \u0412\u044b\u043b\u0435\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b LeadOut<\/h4>\n<p>  \u0418\u043d\u043e\u0433\u0434\u0430 \u0435\u0449\u0451 \u0434\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0431\u044b\u0432\u0430\u043b\u0438 \u043c\u043e\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0443\u043b\u0435\u0442\u0430\u043b\u0438 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b LeadOut. \u041d\u0430 SD \u043a\u0430\u0440\u0442\u0435 \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u0430\u043c \u0431\u044b\u043b \u0443\u0436\u0435 \u043c\u0443\u0441\u043e\u0440, \u0438\u043b\u0438 \u043e\u0431\u0440\u0430\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0443 \u043d\u0435 \u0445\u0438\u043b\u043e \u043a\u043e\u043b\u0431\u0430\u0441\u0438\u043b\u043e. \u0418 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435\u043c TOC \u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u043e\u0439 \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0447\u0442\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u042d\u0442\u043e \u0440\u0435\u0448\u0438\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e, \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0434\u0451\u0442 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043e\u0431\u0440\u0430\u0437\u0430 SD \u043a\u0430\u0440\u0442\u044b, \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0442\u0440\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430, \u043f\u0435\u0440\u0432\u044b\u0439 \u044d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0435\u043a\u0442\u043e\u0440 \u043e\u0431\u0440\u0430\u0437\u0430, \u0432\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u043e\u043d\u044b LeadOut, \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u0434\u043b\u0438\u043d\u0430 \u043e\u0431\u0440\u0430\u0437\u0430. \u0415\u0441\u043b\u0438 \u043c\u044b \u0432\u0434\u0440\u0443\u0433 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u043e\u0431\u0440\u0430\u0437\u0430, \u044f \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e \u043f\u0440\u044b\u0436\u043e\u043a \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043e \u0437\u043e\u043d\u0430 LeadOut. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u043e.<\/p>\n<h3>11. \u041e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0443 \u0432\u0430\u0441 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442<\/h3>\n<p>  <\/p>\n<blockquote><p>\u0427\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0435 \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435 \u0438\u0431\u043e FPGA \u0434\u043e\u0440\u043e\u0433\u043e \u0438 \u0441\u043b\u043e\u0436\u043d\u043e?<\/p><\/blockquote>\n<p>  \u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0437\u0430\u043c\u043e\u0440\u043e\u0447\u043a\u0430 \u044d\u0442\u043e \u0441\u0438\u0433\u043d\u0430\u043b CDBCLK \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d, \u0431\u044b\u0442\u044c \u0447\u0435\u0442\u043a\u043e \u0437\u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u0441 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u043e\u0439 \u0438\u043d\u0430\u0447\u0435 \u043d\u0430 \u043c\u0443\u0437\u044b\u043a\u0435 \u0442\u043e\u0447\u043d\u043e \u0431\u0443\u0434\u0443\u0442 \u0449\u0435\u043b\u0447\u043a\u0438. \u0421 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0432\u0441\u0451 \u043f\u0440\u043e\u0449\u0435. \u0414\u0443\u043c\u0430\u044e \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0448\u0438\u043d\u0443 I2S \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 24 \u0431\u0438\u0442\u0430 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b, \u0438 24 \u0431\u0438\u0442\u0430 \u0441\u043b\u043e\u0432\u043e. \u041b\u0438\u0431\u043e 16 \u0431\u0438\u0442 \u043d\u0430 \u043a\u0430\u043d\u0430\u043b \u0438 24 \u043d\u0430 \u0441\u043b\u043e\u0432\u043e. STM32 \u043a\u043e\u0433\u0434\u0430 \u044f \u0441\u043c\u043e\u0442\u0440\u0435\u043b, \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u0442\u0430\u043a \u043d\u0435 \u0443\u043c\u0435\u043b\u0438. \u0421\u043a\u043e\u0440\u0435\u0439 \u0432\u0441\u0435\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u043e\u0439\u0434\u0443\u0442 PSoC 5 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e ESP32, \u043d\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445, \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d. \u0421\u0438\u0433\u043d\u0430\u043b\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0448\u0438\u043d\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 CXD2545 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 70 \u043a\u0438\u043b\u043e\u0433\u0435\u0440\u0446, \u0448\u0438\u043d\u044b \u0441\u0443\u0431\u043a\u0430\u043d\u0430\u043b\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 133 \u043a\u0438\u043b\u043e\u0433\u0435\u0440\u0446, \u0434\u0443\u043c\u0430\u044e \u043c\u043e\u0436\u043d\u043e \u043d\u043e\u0433\u043e\u0434\u0440\u044b\u043a\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c. \u041d\u0443, \u0438\u043b\u0438 SPI \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e. SENS \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0435\u043a\u0441\u043e\u0440, \u0432 \u0446\u0435\u043b\u043e\u043c \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u043e\u0439 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u043d\u0430 \u0448\u0438\u043d\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0445\u043e\u0447\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0430 \u043f\u043e\u0442\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0443\u0437\u0443 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0438\u0442\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u043e\u0433\u0438 SENS. \u0422\u0430\u043a \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u0438 \u0442\u043e\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u043e\u0433\u043e\u0434\u0440\u044b\u043a\u043e\u043c.  <\/p>\n<blockquote><p>\u041f\u043b\u0430\u043d\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043b\u0438 \u0435\u0449\u0451 \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u044d\u0442\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438?<\/p><\/blockquote>\n<p>  \u0412 \u0446\u0435\u043b\u043e\u043c \u0434\u0430, \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0434\u0435\u0439:  <\/p>\n<ol>\n<li>\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0441\u044f \u043a \u0448\u0438\u043d\u0435 \u043a\u043e\u043c\u0430\u043d\u0434 SUB-CPU \u0447\u0442\u043e\u0431\u044b \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043a\u0443\u0434\u0430 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/li>\n<li>\u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u043a\u0438\u043d\u0443\u0442\u044c SUB-CPU, \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0438 CXD2545<\/li>\n<li>\u044d\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043b\u0430\u0437\u0435\u0440\u0430 \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u043b\u044e\u0431\u043e\u0439 PS <\/li>\n<li>\u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 SD \u043a\u0430\u0440\u0442\u043e\u0439 \u0447\u0435\u0440\u0435\u0437 SDIO \u0430 \u043d\u0435 SPI<\/li>\n<\/ol>\n<p>  \u0423 \u0432\u0441\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041f\u0443\u043d\u043a\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u043c\u0430\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d. \u0422\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u043d\u0435 \u0434\u0430\u0441\u0442. \u041f\u0443\u043d\u043a\u0442 \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0443\u0442 \u043e\u0447\u0435\u043d\u044c \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u0435\u043d \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043d\u0430 32 \u043a\u0430\u043d\u0430\u043b\u0430, \u0432 \u0446\u0435\u043b\u043e\u043c \u0442\u0430\u043c \u0445\u0432\u0430\u0442\u0438\u0442 \u0438 20 \u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0442\u043e\u043b\u044c\u043a\u043e 15 \u043a\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439(\u043e\u0434\u0438\u043d \u043a\u0430\u043d\u0430\u043b \u0443\u043c\u0435\u0440). \u0418 \u0442\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u043d\u0430 32 \u043a\u0430\u043d\u0430\u043b\u0430, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438\u0433\u0440\u044b \u043f\u043e \u0441\u0435\u0442\u0438, \u0438 \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438\u0432\u043e\u0434\u0430, \u043d\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u043e\u043a\u0430 \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043d\u0435\u0442. \u0410 \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u043e\u0434\u0437\u0430\u043c\u043e\u0440\u043e\u0436\u0435\u043d\u043e. \u0422\u0440\u0435\u0442\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0430\u043c\u044b\u0439 \u0437\u0430\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439. \u041d\u043e \u043e\u043d \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0440\u0435\u0432\u0435\u0440\u0441\u0438\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u043f\u043b\u0430\u0442\u044b PU-18 \u043b\u0438\u0431\u043e PU-8 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f. \u0418 \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043f\u043b\u0430\u0442\u0443 \u0441 CXD2545\/CX2510 \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u043e\u0431\u043d\u043e \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c. \u0418\u0434\u0435\u044f \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f \u0435\u0441\u0442\u044c, \u043d\u043e \u043f\u043e\u043a\u0430 \u0440\u0443\u043a\u0438 \u043d\u0435 \u0434\u043e\u0445\u043e\u0434\u044f, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043e \u0440\u0430\u0437\u0432\u043e\u0434\u043a\u0438 \u043f\u043b\u0430\u0442\u044b. \u041d\u0443 \u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u0430\u0440\u0442\u043e\u0439 \u0447\u0435\u0440\u0435\u0437, SDIO \u043a\u0430\u043a \u0431\u044b \u0442\u043e\u0436\u0435 \u043d\u0435 \u0442\u0430\u043a \u0443\u0436 \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<h3>12. \u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/h3>\n<p>  <a href=\"https:\/\/habrastorage.org\/webt\/dj\/9z\/fb\/dj9zfbezzon7qcdn9fkzx9njahi.jpeg\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/uq\/yr\/_u\/uqyr_uxd-9_dngqw0isj9psqx0k.jpeg\" align=\"right\" data-src=\"https:\/\/habrastorage.org\/webt\/uq\/yr\/_u\/uqyr_uxd-9_dngqw0isj9psqx0k.jpeg\" data-blurred=\"true\"\/><\/a>\u0412\u043e\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u0442\u043e\u0447\u043d\u043e \u0432\u0441\u0451. \u042d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0433\u043e\u0442\u043e\u0432. \u0420\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u043e\u0439. \u041f\u0440\u043e\u0435\u043a\u0442 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c, \u0445\u043e\u0442\u044c \u0438 \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e \u0434\u043b\u0438\u043d\u043d\u044b\u043c. \u041e\u043f\u044b\u0442\u0430 \u0441 \u043d\u0438\u043c \u044f \u0445\u043b\u0435\u0431\u043d\u0443\u043b \u043d\u0430 \u0441\u043b\u0430\u0432\u0443. \u041d\u043e \u043c\u043d\u043e\u0433\u043e\u0435 \u0438\u0437 \u0442\u043e\u0433\u043e, \u0441 \u0447\u0435\u043c \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0435 \u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0432 \u0436\u0438\u0437\u043d\u0438. \u0412 \u043e\u0431\u0449\u0435\u043c \u0440\u0430\u0434\u0438\u043e\u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0430 \u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044b\u0432\u0430\u044e\u0442 \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c\u0438. \u0410 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u044d\u0442\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u043e\u0435 \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u0440\u0430\u0434\u043e\u0441\u0442\u0438 \u0438 \u0433\u043e\u0440\u0434\u043e\u0441\u0442\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0435\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438\u043c \u0437\u0430\u043d\u044f\u0442\u044c\u0441\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u041d\u0435 \u0444\u0430\u043a\u0442, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430, \u041d\u043e \u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f \u0442\u0435\u0440\u043f\u0435\u043d\u044c\u0435 \u0438 \u0442\u0440\u0443\u0434 <s>\u0434\u043e \u0434\u043e\u0431\u0440\u0430 \u043d\u0435 \u0434\u043e\u0432\u0435\u0434\u0443\u0442<\/s> \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u043e\u0437\u043d\u0430\u0433\u0440\u0430\u0436\u0434\u0435\u043d\u044b. \u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u0442\u043e\u0447\u043d\u043e \u043a\u043e\u043d\u0435\u0446.<\/p>\n<p>  PS. \u0427\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435(1-2 \u043d\u0435\u0434\u0435\u043b\u0438) \u0432\u0435\u0441\u044c \u043a\u043e\u0434(\u0421\u0438 \u0438 Verilog) \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 <a href=\"https:\/\/github.com\/VBKesha\/PSX_CDEMU_1\" rel=\"nofollow noopener noreferrer\">\u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a>, \u043c\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u00ab\u043f\u0440\u0438\u0447\u0435\u0441\u0430\u0442\u044c\u00bb. \u0410 \u0437\u0430\u0442\u044f\u0433\u0438\u0432\u0430\u0442\u044c \u0438\u0437 \u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0447\u0430\u0441\u0442\u044c \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c.<\/p>\n<p>  PSS. \u0415\u0441\u043b\u0438 \u0432\u0430\u0441 \u0432\u0434\u0440\u0443\u0433 \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e \u043a\u0430\u043a \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 CD, \u0432\u044b \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u0443\u044e \u0432\u043e <a href=\"https:\/\/habr.com\/ru\/post\/665660\/\">\u0432\u0442\u043e\u0440\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043a\u043d\u0438\u0433\u0443. \u0418 \u0432\u0430\u043c \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u0449\u0443\u043f\u0430\u0442\u044c \u043a\u0430\u043a \u0436\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e\u0442 EFM \u0441\u0438\u0433\u043d\u0430\u043b \u0432 \u0436\u0438\u0437\u043d\u0438(\u043c\u043d\u0435 \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043e\u0447\u0435\u043d\u044c \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c). <a href=\"https:\/\/github.com\/VBKesha\/PSX_CDEMU_1\/blob\/main\/research\/emf_c16m_100.dsl\" rel=\"nofollow noopener noreferrer\">\u0417\u0434\u0435\u0441\u044c <\/a> \u043b\u0435\u0436\u0438\u0442 \u0444\u0430\u0439\u043b \u0441\u043d\u044f\u0442\u043e\u0433\u043e EFM \u0441\u0438\u0433\u043d\u0430\u043b\u0430, \u0438 \u0447\u0430\u0441\u0442\u043e\u0442\u044b \u0441 \u043f\u0438\u043d\u0430 C16M, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u041a\u043e\u0433\u0434\u0430 \u0442\u043e \u043c\u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u043d\u044b\u0445 \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432. <\/p>\n<p>  PSSS. \u041d\u0443 \u0432\u043e\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0436 \u0442\u043e\u0447\u043d\u043e \u043a\u043e\u043d\u0435\u0446.<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/666976\/\"> https:\/\/habr.com\/ru\/post\/666976\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"><a href=\"https:\/\/habrastorage.org\/webt\/oj\/pi\/3q\/ojpi3qjn5nxehnhme5ymqdz6ure.jpeg\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/webt\/ax\/py\/wg\/axpywgsot5bpmjpwoqrjnqrambk.jpeg\" align=\"right\" data-src=\"https:\/\/habrastorage.org\/webt\/ax\/py\/wg\/axpywgsot5bpmjpwoqrjnqrambk.jpeg\" data-blurred=\"true\"\/><\/a>\u042f \u043d\u0430\u0434\u0435\u044f\u043b\u0441\u044f, \u0434\u0430 \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u0431\u044b\u043b \u0443\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443\u043b\u043e\u0436\u0443\u0441\u044c \u0432 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0431\u0443\u0434\u0435\u0442 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0430\u044f. \u0412 <a href=\"https:\/\/habr.com\/ru\/post\/666296\/\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u044f TOC. \u0418 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u0433\u043b\u044e\u0447\u043d\u043e\u0433\u043e, \u043d\u043e \u0432\u0441\u0451-\u0442\u0430\u043a\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0433\u0440. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u0436\u0435 \u0442\u0430\u043a\u043e\u0435 SENS, \u0438 \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0435\u0442\u043a\u043e\u0439. \u041d\u0430\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 SENS. \u0418 \u0440\u0435\u0448\u0438\u0442\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435, \u043d\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u043c\u0435\u043b\u043e\u0447\u0438. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0432\u0441\u0451 \u0435\u0449\u0451 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0435\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u0441\u044b\u043b\u043a\u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b \u043f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438<\/b>                         <\/p>\n<div class=\"spoiler_text\"><a href=\"https:\/\/habr.com\/ru\/post\/653507\/\">\u0427\u0430\u0441\u0442\u044c 1<\/a><br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/665660\/\">\u0427\u0430\u0441\u0442\u044c 2<\/a><br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/666296\/\">\u0427\u0430\u0441\u0442\u044c 3<\/a><\/div>\n<\/p><\/div>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-333593","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/333593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=333593"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/333593\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=333593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=333593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=333593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}