{"id":1349,"date":"2026-10-25T11:00:00","date_gmt":"2026-10-25T02:00:00","guid":{"rendered":"https:\/\/quantumsea.net\/?p=1349"},"modified":"2026-10-25T02:28:51","modified_gmt":"2026-10-24T17:28:51","slug":"qs-artiq-edge-counter-event-load-20261018","status":"publish","type":"post","link":"https:\/\/quantumsea.net\/?p=1349","title":{"rendered":"ARTIQ\u306e\u30a8\u30c3\u30b8\u30ab\u30a6\u30f3\u30bf\u30fc\u3001\u5165\u529b\u30d1\u30eb\u30b9\u3092\u307e\u3068\u3081\u3066\u6570\u3048\u308b\u4ed5\u7d44\u307f"},"content":{"rendered":"<article style=\"overflow-wrap:anywhere;word-break:normal;\">\n<p>\u91cf\u5b50\u5b9f\u9a13\u306e\u8aad\u307f\u51fa\u3057\u3067\u306f\u3001\u691c\u51fa\u5668\u304b\u3089\u5c4a\u304f\u96fb\u6c17\u30d1\u30eb\u30b9\u3092\u3001\u6c7a\u3081\u305f\u6642\u9593\u306e\u4e2d\u3067\u4f55\u56de\u53d7\u3051\u53d6\u3063\u305f\u304b\u8abf\u3079\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5fc5\u8981\u306a\u306e\u304c\u5408\u8a08\u6570\u306a\u3089\u3001\u30d1\u30eb\u30b9\u4e00\u3064\u305a\u3064\u306e\u5230\u7740\u6642\u523b\u3092\u8a08\u7b97\u6a5f\u3078\u904b\u3070\u305a\u3001\u5165\u529b\u306b\u8fd1\u3044\u56de\u8def\u3067\u6570\u3048\u3066\u304b\u3089\u5408\u8a08\u3092\u6e21\u3059\u65b9\u6cd5\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u9a13\u5236\u5fa1\u30b7\u30b9\u30c6\u30e0 ARTIQ \u306e <strong>EdgeCounter\uff08\u30a8\u30c3\u30b8\u30ab\u30a6\u30f3\u30bf\u30fc\uff09<\/strong>\u306f\u3001\u3053\u306e\u5f79\u5272\u3092\u62c5\u3046\u516c\u958b\u5b9f\u88c5\u3067\u3059\u3002\u30a8\u30c3\u30b8\u3068\u306f\u3001\u4fe1\u53f7\u304c\u4f4e\u3044\u72b6\u614b\u304b\u3089\u9ad8\u3044\u72b6\u614b\u3078\u3001\u307e\u305f\u306f\u305d\u306e\u9006\u3078\u5909\u308f\u308b\u77ac\u9593\u3092\u6307\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u516c\u5f0f\u30bd\u30fc\u30b9\u306e\u56fa\u5b9a\u7248\u3092\u8aad\u307f\u3001\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u3092\u307e\u3068\u3081\u308b\u4ed5\u7d44\u307f\u3068\u3001\u305d\u306e\u4ee3\u308f\u308a\u306b\u6b8b\u3089\u306a\u304f\u306a\u308b\u60c5\u5831\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<section class=\"influvetor-quick-summary\" aria-label=\"\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\uff1f\">\n<p><strong>\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068\uff1f<\/strong><\/p>\n<ul>\n<li>\u901a\u5e38\u306e TTL \u5165\u529b\u304c\u5909\u5316\u4e00\u56de\u3054\u3068\u306b\u30a4\u30d9\u30f3\u30c8\u3092\u9001\u308b\u306e\u306b\u5bfe\u3057\u3001EdgeCounter \u306f\u6307\u5b9a\u3057\u305f\u6642\u9593\u7a93\u306e\u5408\u8a08\u3092\u4e00\u3064\u306e\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u3067\u9001\u308c\u307e\u3059\u3002<\/li>\n<li>\u5408\u8a08\u304c\u540c\u3058\u3067\u3082\u3001\u30d1\u30eb\u30b9\u306e\u9593\u9694\u3084\u5230\u7740\u9806\u306e\u7d30\u90e8\u306f\u7570\u306a\u308a\u307e\u3059\u3002\u500b\u3005\u306e\u5230\u7740\u6642\u523b\u304c\u5fc5\u8981\u306a\u3089\u3001\u96c6\u7d04\u3059\u308b\u524d\u306e\u60c5\u5831\u3092\u6b8b\u3059\u65b9\u6cd5\u304c\u5fc5\u8981\u3067\u3059\u3002<\/li>\n<li>\u5165\u529b\u306e\u5f85\u3061\u884c\u5217\u306e\u8ca0\u62c5\u306f\u6e1b\u3089\u305b\u307e\u3059\u304c\u3001\u5f85\u3061\u884c\u5217\u306e\u5bb9\u91cf\u3068\u30ab\u30a6\u30f3\u30bf\u30fc\u306e\u4e0a\u9650\u306f\u5225\u3067\u3059\u3002\u516c\u958b\u30b3\u30fc\u30c9\u306e\u5e45\u6307\u5b9a\u3060\u3051\u3067\u3001\u5b9f\u6a5f\u306e\u5b89\u5168\u306a\u5165\u529b\u901f\u5ea6\u3084\u6700\u5927\u8a08\u6570\u3092\u6c7a\u3081\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/section>\n<h2>\u6570\u3048\u308b\u5834\u6240\u3092\u5165\u529b\u5074\u3078\u79fb\u3059<\/h2>\n<p>ARTIQ \u306e RTIO \u306f\u3001\u6642\u523b\u306e\u4ed8\u3044\u305f\u5165\u51fa\u529b\u30a4\u30d9\u30f3\u30c8\u3092\u6271\u3046\u4ed5\u7d44\u307f\u3067\u3059\u3002\u901a\u5e38\u306e TTL \u5165\u529b\u3067\u306f\u3001\u691c\u51fa\u5bfe\u8c61\u306b\u3057\u305f\u7acb\u3061\u4e0a\u304c\u308a\u3084\u7acb\u3061\u4e0b\u304c\u308a\u304c\u3001\u305d\u308c\u305e\u308c\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u5165\u529b FIFO \u306f\u3001\u305d\u308c\u3089\u3092\u8aad\u307f\u51fa\u3057\u9806\u306b\u5f85\u305f\u305b\u308b\u5f85\u3061\u884c\u5217\u3067\u3059\u3002\u8aad\u307f\u51fa\u3057\u304c\u8ffd\u3044\u4ed8\u304b\u306a\u3051\u308c\u3070\u3001\u4fdd\u5b58\u3067\u304d\u308b\u91cf\u304c\u554f\u984c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u5165\u529b\u306e <code style=\"overflow-wrap:anywhere;\">TTLInOut.count()<\/code> \u3082\u3001\u5229\u7528\u8005\u306b\u306f\u5408\u8a08\u6570\u3092\u8fd4\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u305d\u306e\u624b\u524d\u3067\u306f\u500b\u3005\u306e\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u3051\u53d6\u308a\u3001\u6570\u3048\u3066\u3044\u307e\u3059\u3002<strong>\u623b\u308a\u5024\u304c\u5408\u8a08\u6570\u3067\u3042\u308b\u3053\u3068\u3068\u3001FIFO \u306b\u5408\u8a08\u3060\u3051\u3092\u6d41\u3059\u3053\u3068\u306f\u540c\u3058\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/strong><\/p>\n<p>EdgeCounter \u3067\u306f\u3001FPGA \u306b\u69cb\u6210\u3055\u308c\u305f\u56de\u8def\u3001\u3059\u306a\u308f\u3061\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2\u5074\u306b\u30ab\u30a6\u30f3\u30bf\u30fc\u3092\u7f6e\u304d\u307e\u3059\u3002\u691c\u51fa\u5bfe\u8c61\u306e\u5909\u5316\u304c\u3042\u308b\u3068\u6570\u5024\u3092\u5897\u3084\u3057\u3001\u8981\u6c42\u3055\u308c\u305f\u6642\u70b9\u3067\u5408\u8a08\u3092\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002\u6a19\u6e96\u306e\u30b2\u30fc\u30c8\u95a2\u6570\u3092\u4f7f\u3046\u5834\u5408\u3001\u6642\u9593\u7a93\u4e00\u3064\u306b\u3064\u304d\u7d50\u679c\u306e\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u306f\u4e00\u3064\u3067\u3059\u3002\u5927\u91cf\u306e\u500b\u5225\u30a4\u30d9\u30f3\u30c8\u3092\u3001\u5c11\u6570\u306e\u5408\u8a08\u5024\u306b\u7f6e\u304d\u63db\u3048\u308b\u69cb\u6210\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>6 \u56de\u306e\u7acb\u3061\u4e0a\u304c\u308a\u3092\u3001\u4e8c\u3064\u306e\u5408\u8a08\u306b\u307e\u3068\u3081\u308b\u4f8b<\/h2>\n<p>\u6642\u523b 0\u301c10 \u3068 10\u301c20 \u306e\u4e8c\u3064\u306e\u6642\u9593\u7a93\u3092\u8003\u3048\u307e\u3059\u3002\u5358\u4f4d\u306f\u8aac\u660e\u7528\u306e\u4efb\u610f\u5358\u4f4d\u3068\u3057\u3001\u5883\u754c\u304b\u3089\u96e2\u308c\u305f\u6642\u523b\u306b\u3060\u3051\u7acb\u3061\u4e0a\u304c\u308a\u304c\u8d77\u304d\u308b\u3068\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u5b9f\u6a5f\u306e\u691c\u51fa\u901f\u5ea6\u3084\u30af\u30ed\u30c3\u30af\u9593\u9694\u3092\u8868\u3059\u6570\u5024\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<div style=\"overflow-x:auto;\">\n<table>\n<thead>\n<tr>\n<th>\u6642\u9593\u7a93<\/th>\n<th>\u7acb\u3061\u4e0a\u304c\u308a\u306e\u6642\u523b<\/th>\n<th>\u5408\u8a08<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0\u301c10<\/td>\n<td>2\u30014\u30016<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>10\u301c20<\/td>\n<td>12\u300113\u300118<\/td>\n<td>3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u500b\u5225\u30a4\u30d9\u30f3\u30c8\u3092\u9001\u308b\u65b9\u5f0f\u306a\u3089\u3001\u691c\u51fa\u3057\u305f\u7acb\u3061\u4e0a\u304c\u308a\u306b\u5bfe\u5fdc\u3059\u308b\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u306f\u8a08 6 \u500b\u3067\u3059\u3002EdgeCounter \u306e\u6a19\u6e96\u30b2\u30fc\u30c8\u3067\u305d\u308c\u305e\u308c\u306e\u7a93\u306e\u5408\u8a08\u3092\u8981\u6c42\u3059\u308b\u3068\u3001\u7d50\u679c\u306e\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u306f\u8a08 2 \u500b\u306b\u306a\u308a\u3001\u8aad\u307f\u51fa\u3059\u5024\u306f\u9806\u306b 3\u30013 \u3067\u3059\u3002\u3053\u306e\u4f8b\u306b\u9650\u308c\u3070\u3001\u7d50\u679c\u3092\u904b\u3076\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u6570\u306f 3 \u5206\u306e 1 \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/quantumsea.net\/wp-content\/uploads\/2026\/10\/qs-artiq-edge-counter-event-load-20261018-figure-1a051fbec0f3.png\" alt=\"\u4e8c\u3064\u306e\u6642\u9593\u7a93\u3067\u8a086\u56de\u306e\u7acb\u3061\u4e0a\u304c\u308a\u3092\u691c\u51fa\u3057\u3001\u500b\u5225\u306e6\u30a4\u30d9\u30f3\u30c8\u307e\u305f\u306f\u5408\u8a083\u30683\u306e2\u30a4\u30d9\u30f3\u30c8\u3068\u3057\u3066\u904b\u3076\u6bd4\u8f03\u3002\u6700\u521d\u306e\u7a93\u306e\u5230\u7740\u6642\u523b\u3092\u5909\u3048\u3066\u3082\u5408\u8a083\u306f\u540c\u3058\u306b\u306a\u308b\u3002\" width=\"1200\" height=\"960\" style=\"max-width:100%;height:auto;\"><figcaption>\u8aac\u660e\u7528\u306e\u81ea\u4f5c\u56f3\u3002\u6642\u9593\u7a93\u5185\u306e\u30a8\u30c3\u30b8\u6570\u3060\u3051\u3092\u96c6\u7d04\u3059\u308b\u4f8b\u3067\u3042\u308a\u3001\u5b9f\u6a5f\u306e\u6ce2\u5f62\u3001FIFO \u5bb9\u91cf\u3001\u901a\u4fe1\u91cf\u306e\u6e2c\u5b9a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u7a93\u306e\u5883\u754c\u3068\u540c\u6642\u306b\u8d77\u304d\u308b\u30a8\u30c3\u30b8\u306f\u4f8b\u306b\u542b\u3081\u3066\u3044\u307e\u305b\u3093\u3002<\/figcaption><\/figure>\n<p>\u305f\u3060\u3057\u3001\u3053\u308c\u306f\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u6570\u306e\u6bd4\u8f03\u3067\u3059\u3002\u30b2\u30fc\u30c8\u3092\u958b\u9589\u3059\u308b\u51fa\u529b\u30a4\u30d9\u30f3\u30c8\u3084\u8a2d\u5b9a\u51e6\u7406\u306f\u5225\u306b\u5fc5\u8981\u3067\u3059\u3002\u7dcf\u901a\u4fe1\u91cf\u3001\u5b9f\u884c\u6642\u9593\u3001\u6d88\u8cbb\u96fb\u529b\u307e\u3067 3 \u5206\u306e 1 \u306b\u306a\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u7acb\u3061\u4e0a\u304c\u308a\u3068\u7acb\u3061\u4e0b\u304c\u308a\u306e\u4e21\u65b9\u3092\u6570\u3048\u308b\u8a2d\u5b9a\u306a\u3089\u3001\u4e00\u3064\u306e\u30d1\u30eb\u30b9\u3067\u4e8c\u3064\u306e\u5909\u5316\u3092\u6570\u3048\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4f55\u3092\u4e00\u56de\u3068\u3059\u308b\u304b\u306f\u3001\u8a2d\u5b9a\u3068\u5b9f\u969b\u306e\u4fe1\u53f7\u3067\u78ba\u304b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u5408\u8a08\u3092\u6b8b\u3059\u3068\u3001\u5230\u7740\u9593\u9694\u306f\u5fa9\u5143\u3067\u304d\u306a\u3044<\/h2>\n<p>\u6700\u521d\u306e\u7a93\u306b\u5c4a\u3044\u305f\u6642\u523b\u304c 2\u30014\u30016 \u3067\u306f\u306a\u304f\u30011\u30012\u30017 \u3060\u3063\u305f\u3068\u3057\u3066\u3082\u3001\u5408\u8a08\u306f 3 \u306e\u307e\u307e\u3067\u3059\u3002\u524d\u8005\u306e\u96a3\u308a\u5408\u3046\u9593\u9694\u306f 2\u30012\u3001\u5f8c\u8005\u306f 1\u30015 \u3067\u3059\u304c\u3001\u5408\u8a08\u5024 3 \u304b\u3089\u3069\u3061\u3089\u3060\u3063\u305f\u304b\u306f\u5206\u304b\u308a\u307e\u305b\u3093\u3002\u96c6\u7d04\u306f\u60c5\u5831\u91cf\u3092\u6e1b\u3089\u3059\u51e6\u7406\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u540c\u3058\u9577\u3055\u306e\u6642\u9593\u7a93\u3067\u691c\u51fa\u6570\u3092\u6bd4\u3079\u305f\u3044\u3068\u304d\u306b\u306f\u3001\u3053\u306e\u96c6\u7d04\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002\u4e00\u65b9\u3001\u500b\u3005\u306e\u5230\u7740\u9593\u9694\u3084\u4ed6\u306e\u5165\u529b\u3068\u306e\u6642\u9593\u95a2\u4fc2\u3092\u8abf\u3079\u305f\u3044\u3068\u304d\u306b\u306f\u3001\u5408\u8a08\u6570\u3060\u3051\u3067\u306f\u8db3\u308a\u307e\u305b\u3093\u3002\u901a\u5e38\u306e TTL \u5165\u529b\u3067\u306f <code style=\"overflow-wrap:anywhere;\">timestamp_mu()<\/code> \u306b\u3088\u308a\u6b21\u306e\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u306e\u6642\u523b\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8aad\u307f\u51fa\u3057\u3084\u4fdd\u5b58\u304c\u8ffd\u3044\u4ed8\u304f\u6761\u4ef6\u306e\u4e0b\u3067\u3001\u5fc5\u8981\u306a\u6642\u523b\u5217\u3092\u6b8b\u3059\u8a2d\u8a08\u3092\u9078\u3073\u307e\u3059\u3002<\/p>\n<p>EdgeCounter \u306e <code style=\"overflow-wrap:anywhere;\">fetch_timestamped_count()<\/code> \u304c\u8fd4\u3059\u6642\u523b\u306b\u3082\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u308c\u306f<strong>\u5408\u8a08\u3092\u8fd4\u3059\u3088\u3046\u8981\u6c42\u3057\u305f\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u306e\u6642\u523b<\/strong>\u3067\u3001\u901a\u5e38\u306f\u30b2\u30fc\u30c8\u304c\u9589\u3058\u308b\u6642\u523b\u306b\u5bfe\u5fdc\u3057\u307e\u3059\u3002\u6570\u3048\u305f\u5404\u30a8\u30c3\u30b8\u306e\u5230\u7740\u6642\u523b\u3092\u8fd4\u3059\u95a2\u6570\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u300c\u6642\u523b\u4ed8\u304d\u306e\u5408\u8a08\u300d\u3068\u300c\u500b\u3005\u306e\u6642\u523b\u5217\u300d\u306f\u3001\u4f7f\u3048\u308b\u5206\u6790\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u7a93\u306e\u6307\u5b9a\u3068\u3001\u7d50\u679c\u3092\u5f85\u3064\u51e6\u7406\u3092\u5206\u3051\u308b<\/h2>\n<p>\u56fa\u5b9a\u7248\u306e <code style=\"overflow-wrap:anywhere;\">gate_rising_mu()<\/code> \u304c\u547c\u3076\u5185\u90e8\u51e6\u7406\u306f\u3001\u307e\u305a\u30ab\u30a6\u30f3\u30bf\u30fc\u3092\u30bc\u30ed\u306b\u3059\u308b\u6307\u5b9a\u3068\u7acb\u3061\u4e0a\u304c\u308a\u691c\u51fa\u306e\u8a2d\u5b9a\u3092\u9001\u308a\u307e\u3059\u3002\u7d9a\u3044\u3066\u6642\u9593\u8ef8\u306e\u30ab\u30fc\u30bd\u30eb\u3092\u7a93\u306e\u9577\u3055\u3060\u3051\u9032\u3081\u3001\u691c\u51fa\u3092\u6b62\u3081\u308b\u8a2d\u5b9a\u3068\u5408\u8a08\u3092\u8fd4\u3059\u8981\u6c42\u3092\u9001\u308a\u307e\u3059\u3002\u7acb\u3061\u4e0b\u304c\u308a\u3060\u3051\u3001\u307e\u305f\u306f\u4e21\u65b9\u3092\u5bfe\u8c61\u3068\u3059\u308b\u95a2\u6570\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6307\u5b9a\u306f\u3001\u73fe\u5728\u306e\u6642\u9593\u8ef8\u306b RTIO \u30a4\u30d9\u30f3\u30c8\u3092\u7f6e\u304f\u64cd\u4f5c\u3067\u3059\u3002\u95a2\u6570\u3092\u547c\u3093\u3060 CPU \u306e\u77ac\u9593\u3068\u3001\u6307\u5b9a\u6642\u523b\u306b\u88c5\u7f6e\u5074\u3067\u52d5\u304f\u77ac\u9593\u3092\u540c\u4e00\u8996\u3057\u307e\u305b\u3093\u3002\u30ea\u30bb\u30c3\u30c8\u3084\u7d50\u679c\u9001\u4fe1\u306e\u6307\u5b9a\u306b\u306f\u3001\u56de\u8def\u306e\u30af\u30ed\u30c3\u30af\u5468\u671f\u4e0a\u306e\u51e6\u7406\u3082\u4f34\u3044\u307e\u3059\u3002\u30b2\u30fc\u30c8\u5883\u754c\u304e\u308a\u304e\u308a\u306e\u30d1\u30eb\u30b9\u3092\u3069\u3061\u3089\u306e\u7a93\u306b\u542b\u3081\u308b\u304b\u306f\u3001\u3053\u306e\u5358\u7d14\u306a\u4f8b\u3060\u3051\u3067\u306f\u6c7a\u3081\u3089\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u8907\u6570\u306e\u7a93\u3092\u5148\u306b\u6307\u5b9a\u3057\u3001\u9014\u4e2d\u3067\u5408\u8a08\u3092\u8aad\u307f\u51fa\u3055\u305a\u306b\u9032\u3081\u308b\u4f7f\u3044\u65b9\u306f\u3001\u516c\u5f0f\u30c9\u30e9\u30a4\u30d0\u30fc\u306b\u660e\u8a18\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5f8c\u304b\u3089 <code style=\"overflow-wrap:anywhere;\">fetch_count()<\/code> \u3092\u7e70\u308a\u8fd4\u3059\u3068\u3001\u8981\u6c42\u3057\u305f\u7d50\u679c\u3092\u9806\u306b\u53d7\u3051\u53d6\u308c\u307e\u3059\u3002\u5404\u7a93\u3067\u5024\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u6a19\u6e96\u95a2\u6570\u306a\u3089\u3001\u5148\u306e\u4f8b\u306f 3 \u306e\u6b21\u306b 3 \u3092\u8fd4\u3057\u3001\u4e8c\u3064\u76ee\u304c\u7d2f\u7a4d\u5024 6 \u306b\u306a\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001<code style=\"overflow-wrap:anywhere;\">fetch_count()<\/code> \u81ea\u4f53\u306f\u3001\u7d50\u679c\u304c\u6765\u308b\u307e\u3067\u5f85\u3064\u95a2\u6570\u3067\u3059\u3002\u9014\u4e2d\u306e\u8aad\u307f\u51fa\u3057\u3092\u7701\u3051\u308b\u3053\u3068\u306f\u3001\u5f8c\u306e\u8aad\u307f\u51fa\u3057\u304c\u5e38\u306b\u5373\u6642\u306b\u7d42\u308f\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6642\u523b\u4ed8\u304d\u306e\u95a2\u6570\u306f\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3092\u6307\u5b9a\u3067\u304d\u3001\u671f\u9650\u307e\u3067\u306b\u7d50\u679c\u304c\u306a\u3051\u308c\u3070\u6642\u523b\u306b \u22121 \u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<h2>\u5165\u529b FIFO \u306e\u6df7\u96d1\u3068\u3001\u8a08\u6570\u306e\u4e0a\u9650\u306f\u5225\u306e\u554f\u984c<\/h2>\n<p>\u8907\u6570\u306e\u5165\u529b\u3092\u540c\u6642\u306b\u6e2c\u308b\u3068\u304d\u3001\u4e00\u65b9\u306e\u5165\u529b\u3092\u8aad\u307f\u51fa\u3057\u3066\u3044\u308b\u9593\u306b\u3001\u3082\u3046\u4e00\u65b9\u306e\u500b\u5225\u30a4\u30d9\u30f3\u30c8\u304c\u305f\u307e\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002EdgeCounter \u306f\u4e00\u3064\u306e\u7a93\u306e\u7d50\u679c\u3092\u4e00\u30a4\u30d9\u30f3\u30c8\u3078\u307e\u3068\u3081\u308b\u305f\u3081\u3001\u3053\u3046\u3057\u305f\u5165\u529b FIFO \u306e\u8ca0\u62c5\u3092\u6e1b\u3089\u3059\u8a2d\u8a08\u3067\u3059\u3002\u305d\u308c\u3067\u3082\u3001\u7d50\u679c\u3092\u8aad\u307f\u51fa\u3055\u305a\u306b\u7121\u9650\u500b\u306e\u7a93\u3092\u91cd\u306d\u3089\u308c\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5b9f\u6a5f\u306e FIFO \u5bb9\u91cf\u3084\u7d50\u679c\u306e\u8aad\u307f\u51fa\u3057\u65b9\u306f\u3001\u5225\u9014\u78ba\u8a8d\u3059\u308b\u6761\u4ef6\u3067\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u56de\u8def\u5185\u306e\u30ab\u30a6\u30f3\u30bf\u30fc\u306b\u3082\u6709\u9650\u306e\u5e45\u304c\u3042\u308a\u307e\u3059\u3002\u4eca\u56de\u78ba\u8a8d\u3057\u305f\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2\u306f\u3001\u30ab\u30a6\u30f3\u30bf\u30fc\u304c\u6240\u5b9a\u306e\u6700\u5927\u5024\u306b\u9054\u3059\u308b\u3068\u3001\u305d\u308c\u4ee5\u4e0a\u306e\u5897\u52a0\u3092\u6b62\u3081\u308b\u98fd\u548c\u578b\u306e\u8a18\u8ff0\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u5165\u529b\u30a4\u30d9\u30f3\u30c8\u3092\u6e1b\u3089\u3059\u5bfe\u7b56\u3060\u3051\u3067\u306f\u3001\u3053\u306e\u6570\u5024\u306e\u4e0a\u9650\u3092\u5e83\u3052\u3089\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u3053\u306f\u7248\u306e\u7167\u5408\u3092\u7701\u3051\u306a\u3044\u7b87\u6240\u3067\u3082\u3042\u308a\u307e\u3059\u3002\u540c\u3058\u56fa\u5b9a\u7248\u3067\u3001\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2\u306e\u98fd\u548c\u5224\u5b9a\u306f <code style=\"overflow-wrap:anywhere;\">2**counter_width - 1<\/code>\u3001\u30c9\u30e9\u30a4\u30d0\u30fc\u306e <code style=\"overflow-wrap:anywhere;\">CounterOverflow<\/code> \u4f8b\u5916\u306e\u6bd4\u8f03\u5024\u306f <code style=\"overflow-wrap:anywhere;\">2**(gateware_width - 1) - 1<\/code> \u3067\u3059\u3002\u4e21\u65b9\u306b 31 \u3092\u4ee3\u5165\u3059\u308b\u3068\u3001\u524d\u8005\u306f 2,147,483,647\u3001\u5f8c\u8005\u306f 1,073,741,823 \u306b\u306a\u308a\u3001\u5f0f\u306f\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u8aad\u307f\u53d6\u308a\u3060\u3051\u3067\u3001\u642d\u8f09\u6e08\u307f\u88c5\u7f6e\u306e\u6709\u52b9\u306a\u8a08\u6570\u4e0a\u9650\u3084\u3001\u3059\u3079\u3066\u306e\u98fd\u548c\u3092\u4f8b\u5916\u3067\u691c\u51fa\u3067\u304d\u308b\u3053\u3068\u307e\u3067\u306f\u4fdd\u8a3c\u3067\u304d\u307e\u305b\u3093\u3002\u904b\u7528\u3067\u306f\u3001\u5b9f\u969b\u306e\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2\u3068\u30c9\u30e9\u30a4\u30d0\u30fc\u306e\u7d44\u5408\u305b\u3001\u8a2d\u5b9a\u3001\u671f\u5f85\u3059\u308b\u4f8b\u5916\u51e6\u7406\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30c9\u30e9\u30a4\u30d0\u30fc\u306e <code style=\"overflow-wrap:anywhere;\">gateware_width<\/code> \u5f15\u6570\u306f\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u51e6\u7406\u306b\u4f7f\u308f\u308c\u308b\u5024\u3067\u3042\u308a\u3001\u5909\u66f4\u3059\u308b\u3060\u3051\u3067 FPGA \u306e\u30ab\u30a6\u30f3\u30bf\u30fc\u304c\u5e83\u304c\u308b\u3082\u306e\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002\u56de\u8def\u306e\u5e45\u3092\u5909\u3048\u308b\u306b\u306f\u3001\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2\u306e\u518d\u69cb\u7bc9\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h2>\u5fc5\u8981\u306a\u60c5\u5831\u304b\u3089\u6e2c\u308a\u65b9\u3092\u9078\u3076<\/h2>\n<div style=\"overflow-x:auto;\">\n<table>\n<thead>\n<tr>\n<th>\u77e5\u308a\u305f\u3044\u3053\u3068<\/th>\n<th>\u6b8b\u3059\u3079\u304d\u60c5\u5831<\/th>\n<th>\u8a2d\u8a08\u3067\u78ba\u8a8d\u3059\u308b\u70b9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u540c\u3058\u9577\u3055\u306e\u7a93\u3067\u4f55\u56de\u691c\u51fa\u3057\u305f\u304b<\/td>\n<td>\u7a93\u3054\u3068\u306e\u5408\u8a08<\/td>\n<td>\u691c\u51fa\u3059\u308b\u30a8\u30c3\u30b8\u3001\u7a93\u306e\u5883\u754c\u3001\u8a08\u6570\u4e0a\u9650\u3001\u7d50\u679c\u306e\u8aad\u307f\u51fa\u3057<\/td>\n<\/tr>\n<tr>\n<td>\u30d1\u30eb\u30b9\u9593\u9694\u3084\u5230\u7740\u306e\u6642\u9593\u95a2\u4fc2<\/td>\n<td>\u500b\u3005\u306e\u6642\u523b\u5217<\/td>\n<td>\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306e\u53d6\u5f97\u3068\u4fdd\u5b58\u304c\u8ffd\u3044\u4ed8\u304f\u304b<\/td>\n<\/tr>\n<tr>\n<td>\u8907\u6570\u30c1\u30e3\u30cd\u30eb\u306e\u7a93\u3054\u3068\u306e\u7d50\u679c<\/td>\n<td>\u30c1\u30e3\u30cd\u30eb\u3068\u7a93\u306b\u5bfe\u5fdc\u3059\u308b\u5408\u8a08<\/td>\n<td>\u7d50\u679c\u306e\u9806\u5e8f\u3068\u3001\u672a\u8aad\u7d50\u679c\u304c\u305f\u307e\u308b\u91cf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>EdgeCounter \u306e\u4e2d\u5fc3\u306f\u3001\u6570\u3048\u65b9\u3092\u5165\u529b\u5074\u306e\u56de\u8def\u3078\u79fb\u3057\u3001\u5fc5\u8981\u306a\u5408\u8a08\u3060\u3051\u3092\u904b\u3076\u3053\u3068\u3067\u3059\u3002\u6642\u523b\u5217\u3092\u5f8c\u304b\u3089\u4f7f\u3046\u4e88\u5b9a\u304c\u3042\u308b\u304b\u3001\u5408\u8a08\u3060\u3051\u3067\u5224\u65ad\u3067\u304d\u308b\u304b\u3092\u5148\u306b\u6c7a\u3081\u308b\u3068\u3001\u3053\u306e\u65b9\u5f0f\u3092\u9078\u3076\u7406\u7531\u3082\u9650\u754c\u3082\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u306f 2026 \u5e74 10 \u6708 18 \u65e5\u306b\u4fdd\u5168\u3057\u305f\u516c\u958b\u5b9f\u88c5\u306e\u8aad\u89e3\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u3084\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2\u3092\u5b9f\u6a5f\u3078\u5c0e\u5165\u3057\u305f\u7d50\u679c\u3067\u306f\u306a\u304f\u3001\u5165\u529b\u901f\u5ea6\u3001\u691c\u51fa\u6f0f\u308c\u3001\u30d1\u30eb\u30b9\u5e45\u306e\u9650\u754c\u3092\u6e2c\u5b9a\u3057\u305f\u3082\u306e\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>ARTIQ\u306e\u958b\u767a\u3084\u5b9f\u9a13\u6a5f\u5668\u306e\u63d0\u4f9b\u3092\u624b\u304c\u3051\u308bM-Labs\u306e\u4e8b\u696d\u306b\u3064\u3044\u3066\u306f\u3001cyclewave\u306e\u4f01\u696d\u89e3\u8aac\u3067\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p style=\"text-align:center;\"><a href=\"https:\/\/cyclewave.net\/?p=284\" style=\"display:inline-block;padding:0.7em 1em;border:1px solid currentColor;border-radius:4px;\">M-Labs\u306e\u4f01\u696d\u89e3\u8aac\u3092\u8aad\u3080<\/a><\/p>\n<h2>\u51fa\u5178<\/h2>\n<ol>\n<li>M-Labs \/ ARTIQ, <a href=\"https:\/\/git.m-labs.hk\/M-Labs\/artiq\/src\/commit\/a7303a7a536935a2e4a7b8d1a537ca89f567772f\/artiq\/coredevice\/edge_counter.py\">EdgeCounter \u306e\u516c\u5f0f\u30c9\u30e9\u30a4\u30d0\u30fc<\/a>\u3002\u30e2\u30b8\u30e5\u30fc\u30eb\u89e3\u8aac\u3001\u30b2\u30fc\u30c8\u95a2\u6570\u3001\u7d50\u679c\u53d6\u5f97\u3001\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u51e6\u7406\u3002<\/li>\n<li>M-Labs \/ ARTIQ, <a href=\"https:\/\/git.m-labs.hk\/M-Labs\/artiq\/src\/commit\/a7303a7a536935a2e4a7b8d1a537ca89f567772f\/artiq\/gateware\/rtio\/phy\/edge_counter.py\">SimpleEdgeCounter \u306e\u516c\u5f0f\u30b2\u30fc\u30c8\u30a6\u30a7\u30a2<\/a>\u3002\u30a8\u30c3\u30b8\u691c\u51fa\u3001\u7d50\u679c\u9001\u4fe1\u3001\u98fd\u548c\u578b\u30ab\u30a6\u30f3\u30bf\u30fc\u306e\u8a18\u8ff0\u3002<\/li>\n<li>M-Labs \/ ARTIQ, <a href=\"https:\/\/m-labs.hk\/artiq\/manual\/core_drivers_reference.html\">Core drivers reference<\/a>\u3002TTLInOut \u306e count \/ timestamp_mu \u3068 EdgeCounter \u306e\u5404\u95a2\u6570\u3002\u4fdd\u5b58\u6642\u306e\u8868\u793a\u7248\u306f 9.9698+a7303a7\u3002<\/li>\n<\/ol>\n<p>\u30bd\u30fc\u30b9\u306e\u56fa\u5b9a commit \u306f <code style=\"overflow-wrap:anywhere;word-break:break-all;\">a7303a7a536935a2e4a7b8d1a537ca89f567772f<\/code>\u3002\u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb\u3068\u30b3\u30fc\u30c9\u306f\u540c\u3058\u5b9f\u88c5\u7cfb\u5217\u306e\u8aac\u660e\u3067\u3042\u308a\u3001\u72ec\u7acb\u3057\u305f\u4e8c\u3064\u306e\u6027\u80fd\u5b9f\u8a3c\u3068\u3057\u3066\u6570\u3048\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>\u91cf\u5b50\u5b9f\u9a13\u306e\u8aad\u307f\u51fa\u3057\u3067\u306f\u3001\u691c\u51fa\u5668\u304b\u3089\u5c4a\u304f\u96fb\u6c17\u30d1\u30eb\u30b9\u3092\u3001\u6c7a\u3081\u305f\u6642\u9593\u306e\u4e2d\u3067\u4f55\u56de\u53d7\u3051\u53d6\u3063\u305f\u304b\u8abf\u3079\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5fc5\u8981\u306a\u306e\u304c\u5408\u8a08\u6570\u306a\u3089\u3001\u30d1\u30eb\u30b9\u4e00\u3064\u305a\u3064\u306e\u5230\u7740\u6642\u523b\u3092\u8a08\u7b97\u6a5f\u3078\u904b\u3070\u305a\u3001\u5165\u529b\u306b\u8fd1\u3044\u56de\u8def\u3067\u6570\u3048\u3066\u304b\u3089\u5408\u8a08\u3092\u6e21\u3059\u65b9\u6cd5\u304c\u4f7f\u3048\u307e\u3059 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1347,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[30],"tags":[184],"class_list":["post-1349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computing","tag-quantum-computers"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/quantumsea.net\/wp-content\/uploads\/2026\/10\/qs-artiq-edge-counter-event-load-20261018-featured-3184229bbfa8.png","_links":{"self":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts\/1349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1349"}],"version-history":[{"count":2,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts\/1349\/revisions"}],"predecessor-version":[{"id":1608,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/posts\/1349\/revisions\/1608"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=\/wp\/v2\/media\/1347"}],"wp:attachment":[{"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/quantumsea.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}